main()
{int a=200*200/100;
printf("%d",a);
}
Answer Posted / xxxxxxx
among '* ','/' arithematic operators / has a higher
precedence.so 200/100 is enclosed in brackets and multiplied
with 200
so a=200*(200/100)=200*2=400
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is logical error?
What is use of null pointer in c?
What is atoi and atof in c?
How is a macro different from a function?
Explain what is wrong with this program statement? Void = 10;
What are file streams?
What do you mean by keywords in c?
What is double pointer in c?
Ow can I insert or delete a line (or record) in the middle of a file?
Explain how can I convert a string to a number?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Explain what are run-time errors?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What are the different types of control structures?