Which of the following is not a valid declaration for main
()?




1) int main()


2) int main(int argc, char *argv[])


3) They both work

Answer Posted / k.kavitha

3) They both work

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does emoji p mean?

610


What do you mean by a sequential access file?

631


What is the most efficient way to count the number of bits which are set in an integer?

595


Explain 'bus error'?

565


Why ca not I do something like this?

591






Is calloc better than malloc?

582


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

768


Explain argument and its types.

608


What is the meaning of 2d in c?

617


What are the advantages of Macro over function?

1211


How do you define a function?

585


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

689


What does sizeof int return?

596


Why static is used in c?

627


i got 75% in all semester am i eligible for your company

1743