Functions


  1. Which header file includes a function for variable number of arguments?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    stdarg.h


  1. Which of the following macro extracts an argument from the variable argument list (ie ellipsis) and advance the pointer to the next argument?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    va_arg



  1. The type va_list in an argument list is used ________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    To create a list


  1. In a variable length argument function, the declaration “…” can _______











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Only appear at the end of an argument list



  1. Each call of va_arg _______.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Returns one argument & Steps va_list variable to the next