int x=5;
printf("%d%d%d",x,x<<2,x>>2);

Answer Posted / jitendra nath das

Ans will be

x=5
x<<2=20
x>>2=1

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement a packet in C

2401


What is quick sort in c?

588


Why is sprintf unsafe?

623


What is dangling pointer in c?

629


Why is structure padding done in c?

654






What is structure pointer in c?

577


Why do we use & in c?

595


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

2659


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1637


What is meant by type specifiers?

663


What are the types of bitwise operator?

667


What is the full form of getch?

588


Is main a keyword in c?

640


How can I avoid the abort, retry, fail messages?

665


What are the different types of endless loops?

628