Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the correct declaration of main?
What is the correct declaration of main?
✍: Guest
There are two valid declarations:
int main(void)
int main(int argc, char **argv)
although they can be written in a variety of ways. The second parameter may be declared char *argv[] , you can use any names for the two parameters, and you can use old-style syntax:
int main()
int main(argc, argv)
int argc; char **argv;
2015-12-22, 2148👍, 0💬
Popular Posts:
What Happens to Your Transactions When ERROR 1213 Occurred? - MySQL FAQs - Transaction Management: C...
Explain in detail the fundamental of connection pooling? When a connection is opened first time a co...
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); ...
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. ...
How To Run a JUnit Test Class? A JUnit test class usually contains a number of test methods. You can...