Online GK Series

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

Get Attractive Job

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

Your Valuable Comments Please...

Useful Computer Science EBooks