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 / chandrakala
3.both are works well.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Why & is used in c?
Tell me is null always defined as 0(zero)?
is it possible to create your own header files?
What is #define size in c?
Differentiate between null and void pointers.
What are pragmas and what are they good for?
Explain how do you print only part of a string?
Do you have any idea how to compare array with pointer in c?
what are non standard function in c
What are the 5 data types?
Why should I prototype a function?
Differentiate between Macro and ordinary definition.
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is d scanf?
Why is c so popular?