x=2,y=6,z=6
x=y==z;
printf(%d",x)
Answer Posted / anand n
Ans:1
x=2,y=6,z=6//here x value is:2
x=y==z;//x=6 and y=6 so x is equal to y means its true,now
//x value is 1
printf(%d",x)
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Explain how can a program be made to print the name of a source file where an error occurs?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
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.
What is the purpose of clrscr () printf () and getch ()?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What are the types of unary operators?
What is a scope resolution operator in c?
What is null in c?
Why do we need arrays in c?
What are the types of macro formats?
How can I copy just a portion of a string?
Write a program to check armstrong number in c?
Why do we use null pointer?
When was c language developed?