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

how to find turn around time in operating system?

3 Answers  


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   MAHINDRA, Protech, Sivan Tech,


Why C language is a procedural language?

0 Answers   Ericsson,


accept character from keyboard untill the user presses the enter key.If the user enters any character other than upper case(A-Z)alphabets program should stop taking any input

1 Answers  


What are static functions?

1 Answers  


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

0 Answers  


Which is an example of a structural homology?

0 Answers  


Is that possible to add pointers to each other?

0 Answers  


Are there any problems with performing mathematical operations on different variable types?

0 Answers  


Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .

4 Answers   State Bank Of India SBI,


44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

3 Answers  


What are near, far and huge pointers?

0 Answers   Hexaware, Thomson Reuters, Virtusa,


Categories