The main function can have the command linre arguments like in this syntax main(int x)......the main function can have two arguments 1. int x : tell the number of arguments in the main function that are given on the command line2. char *array[] :it is an array of pointers to the string and specify the file names thay you want to pass on the command line.
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
Copyright ©2003-2010 CoolInterview.com, All Rights Reserved. Privacy Policy | Terms and Conditions Page URL: http://www.coolinterview.com/interview/5962/default.asp?cachecommand=bypass