int x=5;
printf("%d%d%d",x,x<<2,x>>2);

Answer Posted / sunil gupta

x=5
x<<2=20
x>>2=1

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is more efficient, a switch statement or an if else chain?

583


regarding pointers concept

1575


What is a dynamic array in c?

597


How can I split up a string into whitespace-separated fields?

571


‎How to define structures? · ‎

630






In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

978


What do you mean by command line argument?

646


what will be the output for the following main() { printf("hi" "hello"); }

9332


What is structure pointer in c?

573


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

1744


What are the ways to a null pointer can use in c programming language?

592


How do we open a binary file in Read/Write mode in C?

680


What is pragma in c?

629


Write a program to generate random numbers in c?

664


What does %c do in c?

584