Write a statement that declares a prototype for a function p
Write a statement that declares a prototype for a function printTodaysDate, which has no parameters and doesn\'t return anything. #include void timeNdate(); void main() { timeNdate(); getch(); } void timeNdate() { char dateStr [9]; char timeStr [9]; _strdate( dateStr ); printf( \"The current date is %s \ \", dateStr); _strtime( timeStr ); printf( \"The current time is %s \ \", timeStr); }
Solution
#include