Output of C programs | Set 37
1.) What will be the output of the following code? C #include <stdio.h> int main(void) { int y, z; int x = scanf("%d %d", &y, &z); printf("%d", x); return 0; } Input: 12 10 a)12 b)2 c)Syntax Error d)10 Answer : b Explanation: scanf() returns the number of variables