Can any 1 explain about the time() function in c++ | SoloLearn: Learn to code for FREE!

0

Can any 1 explain about the time() function in c++

need help in learning

a

3/31/2017 3:07:21 AM

Ajmal Aboobacker

2 Answers

New Answer

+4

The function returns the current time or date on the system.

0

"Get the current calendar time as a value of type time_t . The function returns this value, and if the argument is not a null pointer, it also sets this value to the object" http://www.cplusplus.com/reference/ctime