printf ( "%d" , printf ( "tim" ) ):
A. | results in a syntax error |
B. | outputs tim3 |
C. | outputs garbage |
D. | prints tim and terminates abruptly |
Answer : B Explanation : Any function (including main ( ) ) , returns a value to the calling environment. In the case of printf , it is the number of characters it printed. So. the output will be tim3 (since it printed the three characters a, b, c). |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |