# define x=1+4;
main()
{
int x;
printf("%d%d",x/2,x/4);
}
Answer Posted / banavathvishnu
x/2 will become 1+4/2=3
x/4 will become 1+4/4 = 2
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the difference between a function and a method in c?
Write a program of prime number using recursion.
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is declaration and definition in c?
why do some people write if(0 == x) instead of if(x == 0)?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Is it acceptable to declare/define a variable in a c header?
Is a pointer a kind of array?
How do you convert strings to numbers in C?
What is static and volatile in c?
What is getch() function?
What are 3 types of structures?
What are the 5 organizational structures?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Why do we use & in c?