MCQ Practice
Single Best Answer
Topic: Operators and Enums in C Language
Q
What will be the output of the program?
#include
int main()
{
printf("%d %d\n", 32<<1, 32<<0);
printf("%d %d\n", 32<<-1, 32<<-0);
printf("%d %d\n", 32>>1, 32>>0);
printf("%d %d\n", 32>>-1, 32>>-0);
return 0;
}
Subchapter
Operators and Enums in C Language
Action
Choose one option below