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 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

6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture,


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

0 Answers  


main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail

6 Answers   TCS,


What is the meaning of typedef struct in c?

0 Answers  


What is a structure member in c?

0 Answers  


What is difference between array and structure in c?

0 Answers  


What is structure of c program?

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,


What is advantage of pointer in c?

0 Answers  


main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 Answers  


write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)

1 Answers   Bosch, College School Exams Tests,


What is difference between structure and union in c programming?

0 Answers  


Categories