which header file contains main() function in c?
Answer Posted / tejas
main is the only function which is called from outside of the program. the code for invoking the main function is written inside something called as a "startup code". this startup code contains the prototype of main function. the main function is "called" from within this startup code which then is linked by linker to its definition created by the programmer. The linker, as we know, is responsible for linking object code to lib code. Along with these two codes, it also links startup code to create the executable file.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain about block scope in c?
Explain the properties of union.
What are formal parameters?
Can you think of a logic behind the game minesweeper.
regarding pointers concept
Why can’t we compare structures?
What are the 5 types of inheritance in c ++?
Why is this loop always executing once?
Write a progarm to find the length of string using switch case?
Write a function that will take in a phone number and output all possible alphabetical combinations
What is #define used for in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
Explain how do you declare an array that will hold more than 64kb of data?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer