main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / dada khalander
main() is an user defined function.Because the user writing the body of main() function,defining the body of main() by the user.So it can be considered as an user defined function
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
How are strings stored in c?
What is FIFO?
can we implement multi-threads in c.
Is c weakly typed?
What does 3 mean in texting?
What are the modifiers available in c programming language?
How can you tell whether two strings are the same?
Is javascript written in c?
What are the types of operators in c?
What is s 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.
Explain what is the difference between a string and an array?
What is the use of a static variable in c?