User loginNavigationTake FREE online C/C++ test now!Unix / Linux ProgrammingCode search made simpleYour feedback needed!As a webmaster of this site, I regard you as our most important critic and commentator. We value your opinion and want to know what we are doing right, what we could do better and any other words of wisdom you're willing to pass our way. It would be our greatest motivation which will help us in developing areas you would like to see in this site. We hope you will continue to encourage and support us in our future endeavors.
INDIA |
Demonstration of using variable number of argumentsDemonstration of using Variable number of argument #include This program will add sum of all the numbers, starting from 2nd argument to nth place and 1st arguments indicate that how many arguments that is going to be passed. Generally these are called as VARARGS (variable no. of arguments) Code contributed by : Pradeep SP
|