M
Q. What will be the output of the following code snippet?
#include <stdio.h> void solve() { int x = 2; printf("%d", (x << 1) + (x >> 1)); } int main() { solve(); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. C language was invented in the year?
Q. In linux, argv[0] by command-line argument can be occupied by _________
Q. Which gcc flag is used to genarate debug information for any binary file?
Q. What will be the output of the following C code?
Q. Which of the following shows the correct hierarchy of arithmetic operations in C
Q. Function fwrite() works with ___.
Q. What is the output of the following C program?
Q. while declaring parameters for main, the second parameter argv should be declared as
Q. Variable names beginning with underscore is not encouraged. Why?
Discusssion
Login to discuss.