

MCQOPTIONS
Saved Bookmarks
1. |
Match the following Lists if you execute a command-line program “test” in ‘C’ as below:test string 1 string 2.List-I List-II(a) argc(i) base address of ‘test’(b) argv[0](ii) number of arguments + 1(c) argv[1](iii) base address of string 2(d) argv[2](iv) base address of string 1 Correct code are: |
A. | a-ii, b-i, c-iv, d-iii |
B. | a-i, b-ii, c-iv, d-iii |
C. | a-ii, b-i, c-iii, d-iv |
D. | a-iv, b-iii, c-ii, d-i |
Answer» B. a-i, b-ii, c-iv, d-iii | |