What is the output of following program ?
int
main()
{
int x = 5;
printf("%d %d %d\n", x, x << 2, x >> 2);
}
Answer Posted / sudhir prasad
5 20 1 is correct answer
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
What are the different types of constants?
Differentiate between declaring a variable and defining a variable?
Can we assign integer value to char in c?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What is sizeof int in c?
What are pointers really good for, anyway?
What is 1f in c?
How to implement a packet in C
How to write a multi-statement macro?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What is an lvalue in c?
How can I pad a string to a known length?
What is a floating point in c?
How do you define a function?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER