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
What are the application of c?
Explain modulus operator. What are the restrictions of a modulus operator?
Is there anything like an ifdef for typedefs?
Where static variables are stored in c?
Define Array of pointers.
What is restrict keyword in c?
What is the difference between declaring a variable and defining a variable?
Is it fine to write void main () or main () in c?
What is the difference between char array and char pointer?
What language is lisp written in?
What are header files in c programming?
Why should I use standard library functions instead of writing my own?
Explain how can you tell whether a program was compiled using c versus c++?
What is new line escape sequence?
Write a program to generate the Fibinocci Series