main()
{int a=200*200/100;
printf("%d",a);
}

Answers were Sorted based on User's Feedback



main() {int a=200*200/100; printf("%d",a); }..

Answer / dally

200*200/100

here both *,% contained same priority and also left->right
shift so the excusion will start from left->right so answer is
400.

Is This Answer Correct ?    4 Yes 8 No

main() {int a=200*200/100; printf("%d",a); }..

Answer / ismail

400

Is This Answer Correct ?    7 Yes 12 No

main() {int a=200*200/100; printf("%d",a); }..

Answer / rukmanee

int a=200*200/100;
=200*2;
=400;
the value of a=400

Is This Answer Correct ?    1 Yes 7 No

main() {int a=200*200/100; printf("%d",a); }..

Answer / jaga

a=200*200
=40000/100
=400
a=400

Is This Answer Correct ?    7 Yes 16 No

Post New Answer

More C Interview Questions

C program to find all possible outcomes of a dice?

0 Answers  


What is I ++ in c programming?

0 Answers  


whitch value return void main?

11 Answers  


logic for x=y^n

1 Answers   Delphi,


Explain how do you use a pointer to a function?

0 Answers  






What is the difference between strcpy() and memcpy() function in c programming?

0 Answers  


What are bitwise shift operators in c programming?

0 Answers  


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

0 Answers  


Why can’t we compare structures?

0 Answers  


What is the difference function call by value & function call by reference?

6 Answers  


program to locate string with in a string with using strstr function

2 Answers   Huawei, Shreyas,


output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }

2 Answers   Elysium,


Categories