Question: Chapter 2: Multiple Choice questions 2.7 Secure C Programming 2.45 Which of the following statements is true in secure C pro- gramming? (a) You should
Chapter 2: Multiple Choice questions 2.7 Secure C Programming 2.45 Which of the following statements is true in secure C pro- gramming? (a) You should avoid using printf to display a single string argu- ment (b) You should always use printf to display a single string argu- ment. (c) You should always use puts to display a single string argument. (d) None of the above 2.46 Which of the following statements should be used in secure C programming to display the string Welcome" not followed by a new- line character? (a) printf "Welcome"); (b) puts( "Welcome"); (c) printf( "%s", "Welcome" ); (d) None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
