GATE | GATE CS Mock 2018 | Set 2 | Question 35
What is output of following C – Code?
Explanation: The function receives variable number of arguments as there are three dots after first argument. The firs argument is count of all arguments including first. The function mainly returns sum of all remaining arguments. See https://www.geeksforgeeks.org/how-to-count-variable-numbers-of-arguments-in-c for details.
Quiz of this Question