What is ... in c? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is ... in c?

So i found this code across the internet #include<stdio.h> void dynamic(int s, ...) { printf("%d ", s); } int main() { dynamic(20, 40, 60, 80); dynamic(30, 60, 90); return 0; } when executed answer is 20 30, which i understand... but in void dynamic(int s,...) what is ... ?

2nd Mar 2018, 5:37 AM
Ayush walia
Ayush walia - avatar
0 Answers