main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
what is the output?
Answer Posted / hemanth
5
10
2
Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
What is the use of bit field?
Apart from dennis ritchie who the other person who contributed in design of c language.
How do you determine whether to use a stream function or a low-level function?
What is a char c?
How is actual parameter different from the formal parameter?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Write a code to generate divisors of an integer?
How does pointer work in c?
Write a simple code fragment that will check if a number is positive or negative.
What is the use of typedef in structure in c?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is indirection in c?
code for quick sort?
Can you explain the four storage classes in C?
What does the c in ctime mean?