Unix

1:

Consider the following command that invokes the executable file a.out, with the following command line arguments a .out God loves you
argv( [1][2] )corresponds to the character

A. e
B. o
C. y
D. d
 

Answer : D

Explanation :
argv [0] is a pointer to the command (here a.out) and argv [1] to the first argument.So, argv [1][2], refers to the third (since count begins at 0) character of the first argument which is d.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.