main()
{int a=200*200/100;
printf("%d",a);
}
Answers were Sorted based on User's Feedback
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 |
Answer / rukmanee
int a=200*200/100;
=200*2;
=400;
the value of a=400
Is This Answer Correct ? | 1 Yes | 7 No |
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
What is sizeof int?
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
Why is this loop always executing once?
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function
where does malloc() function get the memory?
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
What is a pointer?
How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?
Write a program using bitwise operators to invert even bits of a given number.
What are inbuilt functions in c?
What are keywords in c with examples?