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
Is return a keyword in c?
How can I list all of the predefined identifiers?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Can math operations be performed on a void pointer?
What are local variables c?
Explain enumerated types in c language?
What is the need of structure in c?
Is linux written in c?
Write a function that will take in a phone number and output all possible alphabetical combinations
Should a function contain a return statement if it does not return a value?
Why do we use null pointer?
What are the parts of c program?
How to set file pointer to beginning c?
What is an expression?
Describe the modifier in c?