Write a program to display date and time on form
Answers
Answered by
0
Answer:
#include<stdio.h>
#include<time.h>
int main()
{
printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");
time_t t; // not a primitive datatype
time(&t);
printf("\nThis program has been writeen at (date and time): %s", ctime(&t));
printf("\n\n\t\t\tCoding is Fun !\n\n\n");
return 0;
}
FOLLOW ME
Explanation:
Answered by
0
Explanation:
<#includeiostream. h>
voidmain{}
{
let fun= x. /* x is the current
date and time*/
return{x}
Similar questions
English,
6 months ago
Math,
6 months ago
History,
11 months ago
Accountancy,
11 months ago
English,
1 year ago