/in/ex4.c: In function 'main':
/in/ex4.c:10:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
time=localtime(&(time_t){t});
^
/in/ex4.c:11:44: warning: passing argument 4 of 'strftime' from incompatible pointer type [-Wincompatible-pointer-types]
strftime(store,30,"%Y-%m-%d %H:%M:%S", time);
^~~~
In file included from /in/ex4.c:2:0:
/usr/include/time.h:205:15: note: expected 'const struct tm * restrict' but argument is of type 'struct tic *'
extern size_t strftime (char *__restrict __s, size_t __maxsize,
^~~~~~~~