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

Answers were Sorted based on User's Feedback



Which of the following is not a valid declaration for main ()? 1) int main() 2) i..

Answer / chandrakala

3.both are works well.

Is This Answer Correct ?    12 Yes 0 No

Which of the following is not a valid declaration for main ()? 1) int main() 2) i..

Answer / k.kavitha

3) They both work

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C Interview Questions

write a function which accept two numbers from main() and interchange them using pointers?

3 Answers  


What are the applications of c language?

0 Answers  


Why functions are used in c?

0 Answers  


Can you please explain the difference between syntax vs logical error?

0 Answers  


What are the difference between a free-standing and a hosted environment?

0 Answers   Infogain,






What is scope rule of function in c?

0 Answers  


sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


why TCS selected more student in the software field from all institution.

5 Answers   TCS,


difference of two no's with out using - operator

7 Answers  


Why doesn't the code "a[i] = i++;" work?

4 Answers  


what is d pitfalls of registers variables

3 Answers   TCS,


what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 Answers  


Categories