why we shiuld use main keyword in C
Answers were Sorted based on User's Feedback
Answer / siddiqui mohd. faisal
main is a keyword which tells the compiler that actual
program starts from here.
| Is This Answer Correct ? | 16 Yes | 8 No |
Answer / nirmal kumar tailor
main() is the important part of the programe.
main() defines scope of the programe and all working in
this scop means execute the programe in between this block
all programe execution with the main() function.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / shireesha
It invokes the other functions defined in the program.
It provides the starting address for the funtion.
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / gg
Every C program should have at least one function.main() is
special function, from here the actual execution of the
program starts. main() is one which calls all other
functions and helps to do their job.The functions may from
library or user defined.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / raj
main() is the enty point of all the application ,and is the
special function because it is invoked by the OS
routines,through this function we can call any function.So
every application must contain main() function.
| Is This Answer Correct ? | 4 Yes | 3 No |
Hai what is the different types of versions and their differences
What does s c mean on snapchat?
Why & is used in c?
Is linux written in c?
c programming of binary addition of two binary numbers
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Describe advantages and disadvantages of the various stock sorting algorithms
How are Structure passing and returning implemented by the complier?
What is the purpose of main() function?
Is multithreading possible in c?
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4