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
What are the loops in c?
Explain function?
What is calloc malloc realloc in c?
What is the meaning of ?
Is there sort function in c?
What is string constants?
What is dangling pointer in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is graph in c?
What is a structure member in c?
What is pointer to pointer in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is use of null pointer in c?
What does the c preprocessor do?
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.