+ 2

C lang

void fun(char *msg, ...) { va_list ptr; int num; va_start(ptr, msg); num = va_arg(ptr, int); num = va_arg(ptr, int); printf("%d", num); } int main() { fun("solo", 0, 7, 0, 4, 93); return 0; }

10th Jan 2021, 10:12 AM
Premchand
1 Respuesta
+ 3
Premchand Please also mention your doubt.
10th Jan 2021, 10:15 AM
A͢J
A͢J - avatar