main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / mayank jain
Main() is a user define function because user define it, and main is a keyword that is predefined, that also tell the compiler for the execution of program is starting from here.
when we Write the program we never declare the main function anywhere, only define it.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
In which language linux is written?
How does normalization of huge pointer works?
What are the different types of data structures in c?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Which programming language is best for getting job 2020?
Are pointers integers in c?
Explain main function in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What is function what are the types of function?
What is the use of getchar functions?
What is the difference between #include and #include 'file' ?
What is a pointer variable in c language?
how can use subset in c program and give more example
How can you avoid including a header more than once?