25. | main()
{
show();
}
void show()
{
printf("I'm the greatest");
}
|
|||||||
|
26. | main()
{
main();
}
|
|||||||
|
27. | Find the output: main()
{
int a==4
sqrt(a);
printf("%d",a);
}
|
|||||||
|
28. | #include |
|||||||
|
29. | What will be the output of the program? #include
int check (int, int);
int main()
{
int c;
c = check(10, 20);
printf("c=%d\n", c);
return 0;
}
int check(int i, int j)
{
int *p, *q;
p=&i;
q=&j;
i>=45 ? return(*p): return(*q);
}
|
|||||||
|
30. | What will be the output of the program? #include
int func1(int);
int main()
{
int k=35;
k = func1(k=func1(k=func1(k)));
printf("k=%d\n", k);
return 0;
}
int func1(int k)
{
k++;
return k;
}
|
|||||||
|
« previous
1
2
3
4
5
6
7
8
9
...next »