Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What does %d do?

0 Answers  


main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }

4 Answers   Vector, Vector India,


How can I open files mentioned on the command line, and parse option flags?

0 Answers  


Tell me is null always defined as 0(zero)?

0 Answers  


main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

2 Answers  






A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

0 Answers  


what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?

1 Answers  


What is header file in c?

0 Answers  


Why is c called a structured programming language?

0 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


wht is the difference between KPO and BPO ?

2 Answers   Accenture, BPO, HCK, HCL, Infosys,


What is your favorite subject?

1 Answers   Ericsson, Invendis, Tech Mahindra,


Categories