

InterviewSolution
Saved Bookmarks
1. |
What will be the output of the program if value given to ? |
Answer» The scanf function returns the number of input is given. printf("%d\n", scanf("%d", &i)); The scanf function returns the value 1(one). Therefore, the output of the program is '1'. | |