main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
Answer Posted / kamalg
5 20 1
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
Are the outer parentheses in return statements really optional?
What is the benefit of using #define to declare a constant?
all c language question
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
How can I prevent another program from modifying part of a file that I am modifying?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Can we initialize extern variable in c?
What does volatile do?
Do variables need to be initialized?
Can you please explain the difference between strcpy() and memcpy() function?
What is a protocol in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
When is a void pointer used?
what are # pragma staments?