MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Interview
→
Date Time Function
→
Which of the following are unary operators in C?...
1.
Which of the following are unary operators in C? ! sizeof ~ &&
A.
1, 2
B.
1, 3
C.
2, 4
D.
1, 2, 3
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
C Language developed at _________?
For 16-bit compiler allowable range for integer constants is ________?
C programs are converted into machine language with the help of
C was primarily developed as
What will be printed after execution of the following program code? main() { printf("\\nab"); printf("\\bsi"); printf("\\rha"); }
What number would be shown on the screen after the following statements of C are executed? char ch; int i; ch = 'G'; i = ch-'A'; printf("%d", i);
Find the output of the following program. void main() { int i=01289; printf("%d", i); }
Find the output of the following program. void main() { int i=065, j=65; printf("%d %d", i, j); }
What is the output of given program if user enter value 99? #include void main() { int i; printf("Enter a number:"); scanf("%d", &i); // 99 is given as input. if(i%5 == 0){ printf("nNumber entered is divisible by 5"); } }
What is the output of given program if user enter "xyz" ? #includevoid main() { float age, AgeInSeconds; printf("Enter your age:"); scanf("%f", &age); AgeInSeconds = 365 * 24 * 60 * 60 * age; printf("You have lived for %f seconds", AgeInSeconds);}
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies