What is the output of following program ?
int
main()
{
int x = 5;
printf("%d %d %d\n", x, x << 2, x >> 2);
}
Answer Posted / qint
5 20 1
| Is This Answer Correct ? | 72 Yes | 6 No |
Post New Answer View All Answers
Write the control statements in C language
Are c and c++ the same?
Explain the priority queues?
Explain output of printf("Hello World"-'A'+'B'); ?
What is a void pointer in c?
Explain the red-black trees?
What is c mainly used for?
Is swift based on c?
Explain null pointer.
Why ca not I do something like this?
What is character constants?
In C, What is the #line used for?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Write a code to generate a series where the next element is the sum of last k terms.