i keep getting errorz... can anyone tell me why.. ?
#include <stdio.h>
#include <time.h>
int main()
{
char *ctime(time_t clock);
time_t thetime;
thetime = time(NULL);
printf("\n",ctime(&thetime));
Printable View
i keep getting errorz... can anyone tell me why.. ?
#include <stdio.h>
#include <time.h>
int main()
{
char *ctime(time_t clock);
time_t thetime;
thetime = time(NULL);
printf("\n",ctime(&thetime));
Code:#include <stdio.h>
#include <time.h>
int main()
{
/* char *ctime(time_t clock); */
time_t thetime;
thetime = time(NULL);
printf("%s\n",ctime(&thetime));
return 0;
}