what is the need for main function in c?

Answer Posted / kartik

The main() function represenrs starting of the program.When
ever we write main in program the system analyse starts from
tthere

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of #pragma exit?

686


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.

1052


Can include files be nested?

619


What is the correct code to have following output in c using nested for loop?

603


What is p in text message?

528






What is the return type of sizeof?

581


What is c system32 taskhostw exe?

578


What is indirection?

641


What is the size of a union variable?

590


What does == mean in texting?

653


How arrays can be passed to a user defined function

568


What is the difference between scanf and fscanf?

656


I need a sort of an approximate strcmp routine?

647


Why clrscr is used after variable declaration?

1031


The difference between printf and fprintf is ?

710