Click here to Skip to main content
12,702,933 members (32,506 online)
Click here to Skip to main content

Tagged as

Stats

2.7K views
1 bookmarked
Posted

How CRT calls main , having different parameter

, 29 Apr 2012 CPOL
Hi,We can write main function in several ways (sure there can be only one main in the program),1. int main()2. int main(int argc,char *argv[])3. int main(int argc,char *argv[],char * environment)How run-time CRT function knows which main should be called. Please notice here, I am...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 28-Apr-12 23:12 Available Pranit Kothari
1 No 28-Apr-12 22:55 Available Pranit Kothari

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 29 Apr 2012
Article Copyright 2012 by Pranit Kothari
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid