Question
void main()
{
char not;
not = !2;
printf("%d", not);
}
a.
2
b.
Garbage Value
c.
0
d.
None of These
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. Determine Output:
Similar Questions
Discover Related MCQs
Q. Who is father of C Language?
View solution
Q. C Language developed at _________?
View solution
Q. For 16-bit compiler allowable range for integer constants is ________?
View solution
Q. C programs are converted into machine language with the help of
View solution
Q. C was primarily developed as
View solution
Q. Standard ANSI C recognizes ______ number of keywords?
View solution
Q. Which one of the following is not a reserved keyword for C?
View solution
Q. A C variable cannot start with
View solution
Q. Which one of the following is not a valid identifier?
View solution
Q. If integer needs two bytes of storage, then maximum value of an unsigned integer is
View solution
Q. What is the correct value to return to the operating system upon the successful completion of a program?
View solution
Q. Which is the only function all C programs must contain?
View solution
Q. Which of the following is not a correct variable type?
View solution
Q. Which of following is not a valid name for a C variable?
View solution
Q. If ASCII value of 'x' is 120, then what is the value of the H, if
H = ('x' – 'w' ) / 3;
View solution
Q. What is the difference between a declaration and a definition of a variable?
View solution
Q. "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above.
View solution
Q. Nesting of if-else statements is allowed in C Programming.
View solution
Q. A char variable storing either an ASCII character or a Unicode character is allowed inside switch case.
View solution
Q. We cannot use String in the Switch case as label !
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!