Answer Posted / kamini
#include<stdio.h>
#include<conio.h>
#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)
void begin()
{
printf(" hello ARUN");
getch();
}
Ans was correct but if the function is declare int dn it has to be return some value so it should be void.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is bubble sort technique in c?
Is there a built-in function in C that can be used for sorting data?
Write a program to print numbers from 1 to 100 without using loop in c?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is static and auto variables in c?
What is a method in c?
What is the data segment that is followed by c?
Difference between Shallow copy and Deep copy?
What are operators in c?
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.
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
How many types of functions are there in c?
What is && in c programming?
When should volatile modifier be used?
How can I avoid the abort, retry, fail messages?