Computer Sciences > Gate 2014 Set-1 > C Code
Consider the following program in C language:
Which one of the following statements is TRUE?
#include <stdio.h>
main()
{
int i;
int *pi = &i;
scanf("%d", pi);
printf("%d∖n", i+5);
}
main()
{
int i;
int *pi = &i;
scanf("%d", pi);
printf("%d∖n", i+5);
}
Which one of the following statements is TRUE?
Correct : C Code
Similar Questions
Consider the following two C code segments. Y and X are one and two dimensional arrays of size n and n × n respectively, where 2 ≤ n ≤ 10. Assume that in both c...
Consider the following two C code segments. Y and X are one and two dimensional arrays of size n and n × n respectively, where 2 ≤ n ≤ 10. Assume that in both c...
Consider the following two C code segments. Y and X are one and two dimensional arrays of size n and n × n respectively, where 2 ≤ n ≤ 10. Assume that in both c...
Total Unique Visitors
Loading......