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, 2020👍, 0💬
Popular Posts:
How to create a thread in a program? You have two ways to do so. First, making your class "extends" ...
How to set a cookie with the contents of a textbox ? Values stored in cookies may not have semicolon...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized ...
What invokes a thread's run() method? After a thread is started, via its start() method of the Threa...