Question
int main()
{
float x = 'a';
printf("%f", x);
return 0;
}
a.
a
b.
0.000000
c.
97.000000
d.
Run time error
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the output of this program?
Similar Questions
Discover Related MCQs
Q. How would you round off a value from 6.66 to 7.0?
View solution
Q. The format identifier %i is also used for _____ data type?
View solution
Q. In expression i = g() + f(), first function called depends on __________
View solution
Q. Which of the following is correct Associativity for == operator?
View solution
Q. Which of the following operator has highest Precedence?
View solution
Q. Which of the following operator has lowest Precedence?
View solution
Q. Which of the following has same Precedence?
A. ++
B. ->
C. !
View solution
Q. Identify wrong C Keywords below.
View solution
Q. Find a correct C Keyword below.
View solution
Q. Find a correct C Keyword.
View solution
Q. Types of Integers are
View solution
Q. Types of Real numbers in C are
View solution
Q. signed and unsigned representation is available for
View solution
Q. Size of a Turbo C C++ compiler is
View solution
Q. Size of a GCC or Visual Studio C Compiler is
View solution
Q. Sizes of short, int and long in a Turbo C C++ compiler in bytes are
View solution
Q. Sizes of short, int and long in Visual Studio or GCC compiler in bytes are
View solution
Q. Range of signed char and unsigned char are
View solution
Q. Ranges of signed int and unsigned int are
View solution
Q. Size of float, double and long double in Bytes are
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!