Functions and Pointers questions

Q10

GATE CS 2014 CS-1C ProgrammingMCQ1 mark−1/3 if wrong
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?
Show answer without attempting

Answer: D

0/10 correct0 marks

Related topics in C Programming