1.

Which of the following syntax is correct for command-line arguments?

A. int main(char *argv[], int argc)
B. <pre class="prettyprint lang-c">int main()<br> {<br> int argv, char *argc[];<br> }<br></pre>
C. int main(int var, char *varg[])
D. All of above
E. None of these
Answer» D. All of above


Discussion

No Comment Found