📚 Practice Mode

C Data Types, Variables & Storage Classes

Learn at your own pace with hints and detailed explanations

1 / 22
Multiple Choice

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