
String containing the current date
__FILE__
String containing the file name
__LINE__
Integer representing the current line number
__STDC__
If follows ANSI standard C, then value is a nonzero integer
__TIME__
String containing the current date.
How to use predefined Macros?
C Program to find the current time
#include <stdio.h>
int main(){
printf("Current time: %s",__TIME__); //calculate the current time
}
Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.
Popular searches:
Join 2 million readers and get unlimited free ebooks