2017-10-21 18:40:19 -05:00
|
|
|
/* Special Conformance Test 3.3.4.1: Verification of __DATE__ and __TIME__ */
|
|
|
|
/* predefined macros */
|
|
|
|
/* */
|
|
|
|
/* The user should verify that the __DATE__ macro returns the computer's */
|
|
|
|
/* current clock date, in the form: Mmm dd yyyy. The user should also */
|
|
|
|
/* verify that the __TIME__ macro return the computer's current clock time */
|
|
|
|
/* in the form: hh:mm:ss. */
|
|
|
|
|
2022-10-17 17:50:42 -05:00
|
|
|
int printf(const char *, ...);
|
|
|
|
|
|
|
|
int main (void)
|
2017-10-21 18:40:19 -05:00
|
|
|
{
|
|
|
|
printf ("The current date is: '%s'\n", __DATE__);
|
|
|
|
printf ("The current time is: '%s'\n", __TIME__);
|
|
|
|
}
|