C Programming Float Datatype 1 Online Exam Quiz

C Programming Float Datatype 1 GK Quiz. Question and Answers related to C Programming Float Datatype 1. MCQ (Multiple Choice Questions with answers about C Programming Float Datatype 1

What is the size of float in a 32-bit compiler?

Options

A : 1

B : 2

C : 4

D : 8

View Answer

Which among the following is never possible as an output for a float?

Options

A : 3.666666

B : 3.666

C : 3

D : None of the mentioned

View Answer

Select the odd one out with respect to type?

Options

A : char

B : int

C : long

D : float

View Answer

In a 32-bit compiler, which 2 types have the same size?

Options

A : char and short

B : short and int

C : int and float

D : float and double

View Answer

Loss in precision occurs for typecasting from____________

Options

A : char to short

B : float to double

C : long to float

D : float to int

View Answer

%f access specifier is used for ________

Options

A : Strings

B : Integral types

C : Floating type

D : All of the mentioned

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Programming C Preprocessor 2

C Programming Data Types Sizes 2

C Programming File Access

C Programming File Access 1

C Programming File Inclusion 1

C Programming Float Datatype 2

C Programming Interview Declarations

C Programming Interview Questions Bit Fields

C Programming Interview Questions Type Conversions

C Programming Interview Questions Ungetc