Question
int var = 3.5;
a.
a = 3.5
b.
a = 3
c.
a = 0
d.
Compiler 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. Choose a right statement.
Similar Questions
Discover Related MCQs
Q. Can you use C Modulo Division operator % with float and int?
View solution
Q. What is the priority of operators *, / and % in C language?
View solution
Q. In C language, which Operator group has more priority between (*, / and %) and (+, -) groups?
View solution
Q. Associativity of C Operators *, /, %, +, - and = is
View solution
Q. What is the Priority among (*, /, %), (+, -) and (=) C Operators?
View solution
Q. Choose a C Conditional Operator from the list.
View solution
Q. What is the other name for C Language ?: Question Mark Colon Operator?
View solution
Q. Choose a syntax for C Ternary Operator from the list.
View solution
Q. Choose a correct statement regarding C Comparison Operators.
View solution
Q. Choose a statement to use C If Else statement.
View solution
Q. Choose a correct C Statement using IF Conditional Statement.
View solution
Q. What are Nibble, Word and Byte in computer language?
View solution
Q. Choose correct representation of Decimal number in Binary.
View solution
Q. What is the operator used to make 1's One's compliment?
View solution
Q. What is the result of 0110 & 1100?
View solution
Q. What is the output of Bitwise OR operation | on (0110 | 1100)?
View solution
Q. What is the output of Exclusive OR ^ operator on 0110^1000?
View solution
Q. What is the output of Left Shift Operator << on (00011000<<2)?
View solution
Q. What is the result of Right Shift Operator >> on (00110000>>2)?
View solution
Q. Choose correct statement about Left Shift Operator << .
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!