why the execution starts from main function

Answer Posted / vignesh1988i

it is the first function to be called or to be executed in
the code of the compiler.......



thank u

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by c?

781


Write the Program to reverse a string using pointers.

788


What is the purpose of ftell?

811


What is difference between array and structure in c?

778


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3545


C program to find all possible outcomes of a dice?

2051


Explain what is a static function?

831


What is far pointer in c?

999


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1302


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

996


how to write a c program to print list of fruits in alpabetical order?

2061


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

890


How do you determine the length of a string value that was stored in a variable?

849


4. main() { int c=- -2; printf("c=%d",c); }

1556


Is null a keyword in c?

926