Home / C Programming / Command Line Arguments :: Discussion

Discussion :: Command Line Arguments

  1. Which of the following statements are FALSE about the below code?

    int main(int ac, char *av[]) { } 

  2. A.
    ac contains count of arguments supplied at command-line
    B.
    av[] contains addresses of arguments supplied at a command line
    C.
    In place of ac and av, argc and argv should be used.
    D.
    The variables ac and av are always local to main()

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment