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
Explain the term printf() and scanf() used in c language?
What is restrict keyword in c?
Why do we use pointer to pointer in c?
What are multidimensional arrays?
How do I read the arrow keys? What about function keys?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What is declaration and definition in c?
What is the difference between struct and union in C?
How to compare array with pointer in c?
What do you mean by invalid pointer arithmetic?
What is adt in c programming?
Why is c faster?
What is the difference between array and linked list in c?
ATM machine and railway reservation class/object diagram
How is pointer initialized in c?