why the execution starts from main function

Answer Posted / rahat

main is a special inbuilt function which is used to start
the execution of the program,and the compiler searches for
this function to start the execution of the program.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I implement sets or arrays of bits?

596


How the c program is executed?

624


What is property type c?

596


Why c is a procedural language?

574


What is return type in c?

634






How do we print only part of a string in c?

579


Explain the properties of union.

604


Explain how can I convert a string to a number?

636


What are different types of operators?

590


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

4830


How can you allocate arrays or structures bigger than 64K?

676


What is an identifier?

618


What is a char in c?

548


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

719


Explain how can a program be made to print the name of a source file where an error occurs?

677