I do not know the data type of time_t. Is it a float double or something else? Because if I want to display it I need the tag that corresponds with it for printf. I can handle the rest from there for displaying time_t but I need to know the data type that corresponds with it.
I do not know the data type of time_t . Is it a float
Share
Unfortunately, it’s not completely portable. It’s usually integral, but it can be any “integer or real-floating type”.