Copyright © EngineeringMCQ.com
21. In c language '\a' used for:
Correct answer: (C)
Alarm
22. The Arithmetic operator '%' can be used with:
Correct answer: (A)
int
23. '%d' is the conversion letter for:
Correct answer: (B)
int
24. printf("%c", 65); Out of this line is:
Correct answer: (B)
A
25. Binary operator needs:
Correct answer: (B)
Two operand
26. Which is the symbol for AND operator:
Correct answer: (B)
&&
27. printf("0 && 1 = %d\n", 0 && 1); Out of this line is:
Correct answer: (A)
0 && 1 = 0
28. int x=10; printf("%d",x++); Output is:
Correct answer: (A)
10
29. >> operator is used for:
Correct answer: (A)
Right Shift
30. char x=10; printf("%d",~x); Output is:
Correct answer: (C)
-11