A
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;
}
int main()
{
int a, b;
printf("%d", scanf("%d %d",&a,&b));
return 0;
}
- Correct Answer - Option(B)
- Views: 18
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.