Hi,
How do we pass a param to main() function .
I have a main function which should accept a string as a param. This param comes from an appl which calls this C code ...
something like this.
main(char array / string)
Is argc, argv only for params with coomand line i/p?....
Also I know that we can have something like this
int func1(int a)....thats without a main...
Can we write a func without main ..?...
How do I do this..
thanks