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
Can we compile a program without main() function?
Explain about C function prototype?
What is an identifier?
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)
Why we use void main in c?
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.
How is a macro different from a function?
The statement, int(*x[]) () what does in indicate?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Why void is used in c?
Explain the difference between getch() and getche() in c?
What is wrong in this statement?
What is the explanation for the dangling pointer in c?
cavium networks written test pattern ..
Do character constants represent numerical values?