Question: Which of the following statements will result in a compilation error?
A
B
C
D
E
int n=5, x; x=n++;
B
int n=5, x; x= ++n++;
C
int n=5, x; x= (n+1)++;
D
int n=5, x=6; x= (n+x)++;
E
None
Note: Not available
1. #include <stdio.h> 2. #include "stdio.h"Which of the following statements pertaining to the above two statements are correct?
int num[3][4]= {
{3,6,9,12},
{15,25,30,35},
{66,77,88,99}
};
what would be the output of *(*(num+1)+1)+1?int num[3][4]=
{
{3,6,9,12},
{15,25,30,35},
{66,77,88,99}
};
what would be the output of *(*(num+1))?main()
{
char option = 5;
switch(option)
{
case '5':
printf("case : 1 \n");
break;
case 5:
printf("case : 2 \n");
break;
default:
printf("case : 3 \n");
break;
}
return 0;
}