MCQ
Single Best Answer
Not Set
QWhich of the following statements are correct about the program?
#include
int main()
{
unsigned int num;
int i;
scanf("%u", &num);
for(i=0; i<16; i++)
{
printf("%d", (num<
ID: #1204
Operators and Enums in C Language
2,605 views
Question Info
#1204Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
Option C
If we give input 4, it will print 00000000 00000100 ; If we give input 3, it will print 00000000 00000011 ; If we give input 511, it will print 00000001 11111111 ;
If we give input 4, it will print 00000000 00000100 ; If we give input 3, it will print 00000000 00000011 ; If we give input 511, it will print 00000001 11111111 ;
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic