Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
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, 1971👍, 0💬
Popular Posts:
How To Define a Data Source Name (DSN) in ODBC Manager? - Oracle DBA FAQ - ODBC Drivers, DSN Configu...
How To Give a User Read-Only Access to a Database? - MySQL FAQs - Managing User Accounts and Access ...
How will you freeze the requirement in this case? What will be your requirement satisfaction criteri...
What will be printed as the result of the operation below: main() { char *p1; char *p2; p1=(char *)m...
What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y...