Which of the following functions is used to convert the date and time into a calendar format?

Bảo Vy

Member
Which of the following functions is used to convert the date and time into a calendar format?
A. difftime()
B. clock()
C. mktime()
D. ctime()
 
Answer: c
Explanation: The function mktime() is used to convert the date and time into a calendar format. The function difftime() is used to find the difference between two specified timings, the function clock() is used to return the number of ticks.
 

Tìm kiếm

Back
Top