output for following code???
main()
{
int x=2,y,z;
x*=3+2;
printf("1.%d\n",x);
x*=y=z=4;
printf("2.%d %d %d\n",x,y,z);
x=y==z;
printf("3.%d\n",x);
x==(y=z);
printf("%d",x);
}
Answer Posted / nandhini
1.10
2.40
3.4
4
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
State the difference between x3 and x[3].
Who invented b language?
What is the use of getchar functions?
What is the benefit of using const for declaring constants?
Write a program to find factorial of a number using recursive function.
Write a Program to accept different goods with the number, price and date of purchase and display them
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
If I have a char * variable pointing to the name of a function ..
Can main () be called recursively?
What is a void pointer? When is a void pointer used?
What are the types of macro formats?
What is the difference between declaring a variable and defining a variable?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Can we use visual studio for c?