Millionaire Mode

C Data Types, Variables & Storage Classes

Question 1 of 22

What will be the output of the following C code?
void main()
{
int t;
char *pc=(char *)0;
float *pf=(float *)0;
t=(int)(pc+1) + (int)(pf+1);
printf(%d,t);
}

  1. 3
  2. 5
  3. 7
  4. 8

Prize Money

15₹7 Crores
14₹1 Crore
13₹50,00,000
12₹25,00,000
11₹12,50,000
10₹6,40,000
9₹3,20,000
8₹1,60,000
7₹80,000
6₹40,000
5₹20,000
4₹10,000
3₹5,000
2₹2,000
1₹1,000