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 ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is c definition?
What is getch () for?
What is static volatile in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is the general form of function in c?
what are # pragma staments?
Explain how can you be sure that a program follows the ansi c standard?
What is difference between structure and union?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
In C language what is a 'dangling pointer'?
What is the function of volatile in c language?
Differentiate between #include<...> and #include '...'
What is else if ladder?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
How to throw some light on the b tree?