Online GK Series

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

Q.

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

A 2.5
B 2
C 2.000000
D 2.500000
Answer & Explanation
Option: [B]

a = 5/2 = 2.5

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

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand