1. void main()
{
printf("n abcbbbinfo world");
}
1. info world 2.abc info world 3.abc 4.error
void main()
{
printf("n abcbbbinfo world");
}
1. info world 2.abc info world 3.abc 4.error
void main()
{
printf("%d",'B'<'A');
}
1. Error 2.1 3.0 4.none of these
void main()
{
printf("n abcbbbinfo world");
}
1. info world 2.abc info world 3.abc 4.error
void main()
{
printf("n %d%d",10&20,10/20);
}
1.0 0 2. 10 10 3. 0 30 4.20 20
TECHNICAL - C
Question No: 1
What will be the output of the following program code?
Question No: 2
What will be the output?
Question No: 3
What will be the output?
2. void main()
{
int i=48;
printf("n %c%d",i,i);
}
1.0 48 2.48 0 3. 1 48 4.48 48
void main()
{
int x=10,y=20;
printf("n %d",x,y);
}
1.10 2. 20 3. 10 20 4. Syntaxerror
Question No: 4
What will be the output?
Question No: 5
What will be the output?
3. #define square(x) x*x
void main()
{
int x=10,y=20;
printf("square=%d",square(10+2));
}
1. Square=144 2. Square=32 3. Square=1224.none
void main()
{
int x;
x=printf("isee,sea in c");
printf("x=%d",x);
}
1.x=14 2.x=15 3.error 4.syntaxerror
Question No: 6
What will be the output?
Question No: 7
What will be the value of X?