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
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What is the difference between call by value and call by reference in c?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What is the best style for code layout in c?
Do you have any idea how to compare array with pointer in c?
Is boolean a datatype in c?
Explain bit masking in c?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What are the advantages and disadvantages of pointers?
define string ?
What is wrong with this program statement? void = 10;
how to find anagram without using string functions using only loops in c programming
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
The statement, int(*x[]) () what does in indicate?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none