Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / sunil gupta

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

Is This Answer Correct ?    11 Yes 1 No

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

Answer / 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

More C Interview Questions

why you will give me a job in TCS.

7 Answers   TCS,


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

0 Answers   Aspire, Infogain,


Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }

1 Answers  


Is there any data type in c with variable size?

0 Answers  


a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above

2 Answers   HCL, NBN,


What is formal argument?

0 Answers  


1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?

1 Answers  


Define the scope of static variables.

0 Answers  


What is anagram in c?

0 Answers  


can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"

2 Answers  


Derive the complexity expression for AVL tree?

1 Answers  


Categories