InterviewSolution
Saved Bookmarks
| 1. |
How is the control string of scanf( ) different than the control string of printf( )? |
| Answer» TROL string of scanf() is different than the CONTROL string of printf(). Both scanf() and printf() are control strings of C language. The scanf() function is an input command WHEREAS printf() is an output command. scanf() helps to enter the value for a parameter used in a program while printf() provides the output or result of the program that was executed USING the parameters given through the input command. The printf() control string can also print details that are not DEPENDENT on the scanf() control string parameters. | |