Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

bhaskar.pathk

  • 2 years ago

what would be the Output of this C Program and why why plz try to explain void fun(char *msg, ...); int main() { fun("Variable argument", 1, 4, 7, 11, 0); return 0; } void fun(char *msg, ...) { va_list ptr; int num; va_start(ptr, msg); num = va_arg(ptr, int); num = va_arg(ptr, int); printf("\n help :"); printf("%d", num);

  • This Question is Closed

    Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy