CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

By default, a real number is treated as an


A

Integer

No worries! We‘ve got your back. Try BYJU‘S free classes today!
B

Float

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C

Double

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

Long double

No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B

Float


The Explanation for the correct answer:

Generally in a computer, the real numbers also refer to non-complex floating-point numbers.

Hence real number by default is float.

By default, a real number is treated as float in C language

Hence,correct answer is an option (B)


flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to Number Systems
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon