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

what is the output?

Answer Posted / hemanth

5
10
2

Is This Answer Correct ?    0 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of bit field?

623


Apart from dennis ritchie who the other person who contributed in design of c language.

795


How do you determine whether to use a stream function or a low-level function?

633


What is a char c?

580


How is actual parameter different from the formal parameter?

582






7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2206


Write a code to generate divisors of an integer?

624


How does pointer work in c?

604


Write a simple code fragment that will check if a number is positive or negative.

697


What is the use of typedef in structure in c?

532


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1433


What is indirection in c?

612


code for quick sort?

1603


Can you explain the four storage classes in C?

630


What does the c in ctime mean?

557