43. | What will be output of following c program? #include
int *call();
void main(){
int *ptr;
ptr=call();
fflush(stdin);/div>
printf("%d",*ptr);
}
int * call(){
int x=25;
++x;
return &x;
}
| |||||||
|
44. | #include |
|||||||
|
45. | What will be output of following c program? #include
int main(){
char huge * far *p;
printf("%d%d %d",sizeof(p),sizeof(*p),sizeof(**p));
return 0;
}
|
|||||||
|
46. | main() {
printf("%p",main);
}
|
|||||||
|
47. | What will be output of following program? #include
#include
int main(){
void (*p)();
int (*q)();
int (*r)();
p = clrscr;
q = getch;
r = puts;
(*p)();
(*r)("cquestionbank.blogspot.com");
(*q)();
return 0;
}
|
|||||||
|
48. | What will be output of following program? #include
#include
int main(){
register a = 25;
int far *p;
p=&a;
printf("%d ",*p);
return 0;
}
|
|||||||
|
« previous
1
2
3
4
5
6
7
8
9
...next »