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

any string of bits of length 'n' represents a unique non- negative integer between.............?

2 Answers  


what is constant pointer?

3 Answers  


what is ur strangth & weekness

0 Answers   Cognizant, LG Soft, NetEnrich,


what is printf

5 Answers   MVSR, Satyam,


What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,






Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

2 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


what is c programming?

3 Answers   TCS,


Explain threaded binary trees?

0 Answers  


What is the use of volatile?

0 Answers  


Which is best book for data structures in c?

0 Answers  


What are the two types of structure?

0 Answers  


Categories