strftime. Using that function, give the
four lines of code needed to print out the full name of
the current day of the week. Note: you could make due
with more or fewer depending.
#include <stdio.h>
#include <time.h>
int main()
{
1:
2:
3:
4:
return 0
}
time_t T; struct tm *p; struct tm gd;Give the types of the following expressions, or "error" if they are invalid expressions.
1. &T 2. *p 3. gd.tm_year 4. gd->tm_year 5. p.tm_year 6. p->tm_year 7. &gd.tm_year 8. p 9. (int)T