main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}

what is the output?

Answer Posted / suresh reddy

Ans:

5 20 1

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are variables and it what way is it different from constants?

795


What is putchar() function?

641


What is 2c dna?

613


What are pointers?

638


how logic is used

1504






What is the scope of an external variable in c?

573


What are the different types of linkage exist in c?

617


Is multithreading possible in c?

573


Describe the order of precedence with regards to operators in C.

638


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.

1670


What does typeof return in c?

642


Is it possible to initialize a variable at the time it was declared?

765


What is calloc()?

635


What is a buffer in c?

582


How can I find out if there are characters available for reading?

651