MCQ · 1 mark · C Programming
GATE CS 2014 CS-1 — Q10
Consider the following program in C language:
#include <stdio.h>
main()
{
int i;
int *pi = &i;
scanf("%d",pi);
printf("%d\n", i+5);
}Which one of the following statements is TRUE?
MCQ · 1 mark · C Programming
#include <stdio.h>
main()
{
int i;
int *pi = &i;
scanf("%d",pi);
printf("%d\n", i+5);
}