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...


main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}

what is the output?

Answers were Sorted based on User's Feedback



main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / suresh reddy

Ans:

5 20 1

Is This Answer Correct ?    18 Yes 4 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / padmarao

5 20 1

Is This Answer Correct ?    15 Yes 3 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / vishwateja

5,20,1

Is This Answer Correct ?    3 Yes 2 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / dgsfg

5
20
1

kuchh log pagal hain
%d aur int datatype main float value print karate hain(1.25)
hehehehe........

Is This Answer Correct ?    2 Yes 8 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / sanjeev

5
50
1

Is This Answer Correct ?    0 Yes 6 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / mannucse

5
20
5

Is This Answer Correct ?    1 Yes 10 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / rahul

5
20
0

Is This Answer Correct ?    1 Yes 10 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / hemanth

5
10
2

Is This Answer Correct ?    0 Yes 11 No

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the o..

Answer / nagi

5
20
1.25

Is This Answer Correct ?    2 Yes 13 No

Post New Answer

More C Interview Questions

#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?

16 Answers   Accel Frontline, Opera, Oracle,


WHAT IS PRE POSSESSORS?

6 Answers   TATA,


Do you know the difference between malloc() and calloc() function?

0 Answers  


how we can make 3d venturing graphics on outer interface

1 Answers   Microsoft,


What are the preprocessors?

9 Answers   HP,


what is the use of getch() function in C program.. difference b/w getch() and getche()??

29 Answers   HCL, IBM, Infosys, TCS, Wipro,


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

0 Answers  


Write a program to print factorial of given number using recursion?

0 Answers  


Are local variables initialized to zero by default in c?

0 Answers  


which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 Answers   Accenture, Infosys, TCS, Wipro,


How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?

2 Answers  


Write a program to print distinct words in an input along with their count in input in decreasing order of their count

0 Answers  


Categories