Search found 1 match
Search found 1 match • Page 1 of 1
- Fri Jul 29, 2005 8:49 am
- Forum: C
- Topic: Passing variable number of arguments to functions..
- Replies: 6
- Views: 6508
Hi, "main(int argc, char* argv)" When you invoke the main function from command line , it gets the total number of arguments passed in the variable argc . This approach doesnt work with user-defined functions.Is it possible in some other way to pass variable number of arguments to a function ? How...