main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
what is the output?
Answer Posted / nagi
5
20
1.25
| Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
How is pointer initialized in c?
How many types of operator or there in c?
What is the heap?
What is local and global variable in c?
what are bit fields? What is the use of bit fields in a structure declaration?
What is multidimensional arrays
What does the message "automatic aggregate intialization is an ansi feature" mean?
Is c++ based on c?
How do you write a program which produces its own source code as output?
How can a program be made to print the line number where an error occurs?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is a pointer variable in c language?
How is = symbol different from == symbol in c programming?
Explain what are global variables and explain how do you declare them?