Vidyalelo
C Programming · Q49

C Fundamentals

Programming · C Programming · question 49

Q49

If ASCII value of 'x' is 120, then what is the value of the H, if H = ('x' – 'w' ) / 3;

A.
1
B.
2
C.
3
D.
4
E.
0
Answer

Answer: Option E

Solution

Answer: Option E
Solution:

Because 'x'-'w' = 120-119. And hence 1/3 results in 0(integer division)