I need some information regarding how to handle scanf values while executing the program itself.
suppose the program exe name is BYTE then in order to execute from command prompt we need to give:
main(int argc, char* argv)
printf("first argument: %s",__argv);
printf("Second argument: %s",__argv);
printf("Enter your name:");
BYTE 1arg 2arg ->ENTER
it asks to enter your name
My question is how can i give name at executing itself
BYTE 1arg 2arg << James Bond
will it work???