Question
#include <stdio.h>
int main(){
char num = '10';
printf("%d", num);
return 0;
}
a.
49
b.
48
c.
10
d.
8
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. Which of the following can have different meaning in different contexts?
View solution
Q. Which of the following is not a valid declaration in C?
1. short int x;
2. signed short x;
3. short x;
4. unsigned short x;
View solution
Q. The minimum number of temporary variable needed to swap the content two variables is?
View solution
Q. The precedence of arithmetic operators is (from highest to lowest)?
View solution
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
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!