Elearning , Interview Questions And Answers

Google

{ int **I; int *j=0; i=&j; if (NULL != i&& NULL != *i){ printf("I am here"); } } a)prints I am here b)does not print anything c)compilaton error d)runtime error ans:b 12 #include<stdio.h> void main() { int *j=(int *)0x1000; printf("%p",j); } a)prints-1000 b)runtime error c)compilation error d)none of the above ans:d 13 #include<stdio.h> void main() { int a[2][2]={{2},{3}}; printf("%d",a[0][0]); printf("%d",a[0][1]); printf("%d",a[1][0]); printf("%d",a[1][1]); } a) 2300 b)2000 c)0030 d)2030 ans:d 14) #include<stdio.h>


Hosted by www.Geocities.ws

1