Explain what are the __date__ and __time__ preprocessor commands?
Answer / Reetu Kumari
__date__ is a preprocessor command that returns the date (in format yyyy-mm-dd) when the source file is compiled, while __time__ returns the current time (in format HHMMSS). These commands are often used for generating timestamps within a program.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?
What is an auto keyword in c?
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
What does the c preprocessor do?
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
which will be first in c compiling ,linking or compiling ,debugging.
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What is a structure member in c?
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }
Is there anything like an ifdef for typedefs?