C015Operators and Expressions • Arithmetic
Most ImportantEasy
Q1.What is the value of the expression 5 / 2 in C?
A
2.5
B
2
Correct answer
C
3
D
2.0
Correct answers are highlighted in green
int a = 5; printf("%d", a++);int a = 5; printf("%d", ++a);for a float value in printf()?\n is used to:== 5 in C?int x = (3 > 2) ? 10 : 20;\t represents a:&& 2 < 1) in C?|| 2 < 1) in C?int x = 7, y = 2; float z = x / y;char c = 'A'; int x = c;!= 5 in C?