|
printf(%d.j);
}
a. 123 b.6 c.error d.123
ans:6
29. what is the output of the following code?
#include<stdio.h>
void main()
{
printf("%d",printf(" hello world "));
}
a) 13, b) hello world 13, c) hello world, d) error
ANS:b
IT solutions ---- caritor India ltd
TECHNICAL ROUND C TIME:30 MIN
main
{
int a[5]={2,3};
printf("%d%d%d",a[2],a[3],a[4]);
}
extern int I;
is it a declaration or definition?
3>MAIN()
{
int i=-3,j=2,k=0,m;
m= ++j&&++i||++k;
printf("%d%d%d",i,j,k,m);
}
4>
main()
|
|