Home / C Programming / Command Line Arguments :: Discussion

Discussion :: Command Line Arguments

  1. If the different command line arguments are supplied at different times would the output of the following program change?

     #include 
    
     int main(int argc, char **argv) 
     {  
         printf("%d\n", argv[argc]);   
         return 0;
     } 
    

  2. A.

    Yes

    B.

    No

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment