PDS: CS 11002 Computer Sc & Engg: IIT Kharagpur 1
Command-line Arguments
& %
Lect 30 Goutam Biswas
, ' $
PDS: CS 11002 Computer Sc & Engg: IIT Kharagpur 2
int main()
So far we have used the function main() without
any argument. But it can take string arguments
from the command line when we execute an
executable module e.g. ./a.out. The formal
parameters of main() may be zero to three.
& %
Lect 30 Goutam Biswas