Q. What is the output of this program? if input a is 1 and b is 2
Code:
#include <stdio.h>
int main()
{
int a, b;
printf("%d", scanf("%d %d",&a,&b));
return 0;
}
β
Correct Answer: (B)
2