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

write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

0 Answers   Subex,


Why array is used in c?

0 Answers  


write a c program to find the probability of random numbers between 1-1000

0 Answers   ADS,


Does sprintf put null character?

0 Answers  


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

0 Answers   HCL,






How to write a C program to determine the smallest among three nos using conditional operator?

2 Answers   Google,


What is difference between class and structure?

0 Answers  


why u join this call center?

6 Answers   DELL,


what is bit rate & baud rate? plz give wave forms

0 Answers  


For what purpose null pointer used?

0 Answers  


What is the use of volatile?

0 Answers  


What is realloc in c?

0 Answers  


Categories