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 advantages of Macro over function?
write a c program in such a way that if we enter the today date the output should be next day's date.
Explain the red-black trees?
where are auto variables stored? What are the characteristics of an auto variable?
Explain how can a program be made to print the name of a source file where an error occurs?
Can a pointer be null?
What does the error 'Null Pointer Assignment' mean and what causes this error?
What is void main () in c?
What is dynamic dispatch in c++?
What does %c do in c?
Is c procedural or object oriented?
Is that possible to add pointers to each other?
What is the difference between class and object in c?
Compare and contrast compilers from interpreters.
What is structure padding in c?