25. | What will be the output of program ? #include
int main( )
{
int a,b;
printf("Enter two values of a and b");
scanf("%d%d",&a,&b);
printf("a=%d b=%d"a,b);
return 0;
}
|
|||||||
|
26. | What would be the Output of this Program ? #include
void main()
{
char y='a';
int x=10;
float z=10.1;
printf("\nSizeof(10) : %d Byte",sizeof(10));
printf("\nSizeof('a') : %d Bytes",sizeof('a'));
printf("\nSizeof(10.1) : %d Bytes",sizeof(10.1));
} |
|||||||
|
27. | What will be output of #include
void main()
{
char test =`S`;
printf("\n%c",test);
}
|
|||||||
|
28. | What will be the output of following program #include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}
|
|||||||
|
29. | Out put of following program : float x = 10.7;
int i;
i = (int) x;
print i;
|
|||||||
|
30. | What will be the output of following statements ? char x[ ] = "hello hi"; printf("%d%d",sizeof(*x),sizeof(x));
|
|||||||
|
« previous
1
2
3
4
5
6
next »