Which function searches an environmenr list that are provided by the host environment?

Khánh Đoan

New member
Which function searches an environmenr list that are provided by the host environment?
A. getenv()
B. system()
C. srand()
D. rand()
 
Answer: a
Explanation: The getenv() searches for the environment string pointed to, by name and returns the associated value to the string.The syntax of function is char *getenv(const char *name).
 

Tìm kiếm

Back
Top