Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics