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.

Solution

#include #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); }
 Write a statement that declares a prototype for a function printTodaysDate, which has no parameters and doesn\'t return anything.Solution #include #include voi

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site