What is the output of following program ?
int
main()
{
int x = 5;
printf("%d %d %d\n", x, x << 2, x >> 2);
}
Answer Posted / sudhir prasad
5 20 1 is correct answer
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
When can you use a pointer with a function?
Can you please explain the difference between strcpy() and memcpy() function?
Is a house a shell structure?
What is a program flowchart?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is meant by initialization and how we initialize a variable?
Write a program to reverse a given number in c language?
Tell us something about keyword 'auto'.
What is the difference between array and pointer?
Describe the steps to insert data into a singly linked list.
What is volatile, register definition in C
What are the similarities between c and c++?
Define macros.