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

what is the output?

Answer Posted / vishwateja

5,20,1

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we compile a program without main() function?

636


Explain about C function prototype?

611


What is an identifier?

630


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1863


Why we use void main in c?

597






stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1856


How is a macro different from a function?

657


The statement, int(*x[]) () what does in indicate?

647


List the difference between a 'copy constructor' and a 'assignment operator' in C?

639


Why void is used in c?

566


Explain the difference between getch() and getche() in c?

565


What is wrong in this statement?

606


What is the explanation for the dangling pointer in c?

682


cavium networks written test pattern ..

3597


Do character constants represent numerical values?

844