In which category does main function belong??

Answer Posted / sonu

main function part of class so its name is main, and it is execute execute by the compiler outside the class so it is made public, and it is getting the memory at compile time so it is static , and it is not return any value so it is void .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

722


Explain what is wrong with this program statement? Void = 10;

761


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

600


What is indirection?

645


There seem to be a few missing operators ..

612






What is string concatenation in c?

565


What is the modulus operator?

730


Why is main function so important?

611


What are the standard predefined macros?

627


What is main function in c?

545


The __________ attribute is used to announce variables based on definitions of columns in a table?

669


Explain what are binary trees?

604


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2716


Can we initialize extern variable in c?

626


How main function is called in c?

622