Is it possible to pass command line arguments to C programs? If yes, can you write down the prototype for main function with command line arguments?
Standard function prototype of function main is int main(int argc, char *argv[]);
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function in C programming?
I have program which takes special character as parameter in command line for a program in java. But I can not send * (asterisk) as input for my program.
Give me some explain and solution for my problem.
Can someone help me with step by step example and may be with sample code.