What will be the result of the following C language program?
main()
{
int a = 0; int b = 20; char x = 1; char y = 10;
if(a,b,x,y)
printf("Welcome");
}
Answer Posted / vinod
It will print "Welcome"
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the role of this pointer?
What are the advantages of using new operator as compared to the function malloc ()?
What is the sizeof () a pointer?
What are the modifiers available in c programming language?
What is modeling?
Differentiate abs() function from fabs() function.
Differentiate between calloc and malloc.
Why can’t we compare structures?
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.
Why string is used in c?
Explain what are compound statements?
Is fortran still used in 2018?
What is static function in c?
How to Throw some light on the splay trees?
What is variable initialization and why is it important?