tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 C Language > Basic > Command line Arguments

Command line Arguments 

This example shows accessing command line arguments.

File Name  :  
source/C/basic/command_line_args.c 
Author  :  Sudhakar KV
Email  :  [email protected]

BE_THE_CODER_C.exe ONE TWO THREE
It gives the following output,
Number of command line arguments : 4
Argument[0]: C:\BE_THE_CODER\BE_THE_CODER_C\BE_THE_CODER_C.exe
Argument[1]: ONE
Argument[2]: TWO
Argument[3]: THREE



 
  


  
bl  br