31
If 'a' is an integer variable, then a=5/2 will return a value

Answer: Option [B]

a = 5/2 = 2.5

Though 'a' is an integer variable so the outcome will be 2

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Bank, GATE and NET

Questions

31
If 'a' is an integer variable, then a=5/2 will return a value

Answer: Option [B]

a = 5/2 = 2.5

Though 'a' is an integer variable so the outcome will be 2

32
Which of the following is not a basic data type in 'C' language?

Answer: Option [D]

33
If a=8, b=3 and c=-5 are integers, then value of a*b/c is

Answer: Option [A]

a*b/c

=8*3/-5

=-4.8

=-4[Though it is integer]