1.

What will be the output of the following C code (when 10 and 20 are entered)?
#include <stdio.h>
void main()
{
int n1, n2;
printf("Enter Numbers: ");
scanf("%d", &n2);
scanf("%d", &n1);
printf("%d t%d n", n2, n1);
}

A. 10 Garbage value
B. Garbage value 20
C. Compilation Error
D. Undefined behaviour
E. 10 20
Answer» F.


Discussion

No Comment Found

Related MCQs