MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
mktime() function interprets tm structure as calendar time. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| E. | |
| Answer» B. FALSE | |
| 2. |
asctime() structure contents are interpreted by this function as calendar time. |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| Answer» B. No | |
| 3. |
The time() function is defined in __________ header file. |
| A. | ctime.h |
| B. | time.h |
| C. | clock.h |
| D. | date.h |
| Answer» C. clock.h | |
| 4. |
What is true about strftime function? |
| A. | This function is used to get current system time as structure |
| B. | This function is used to get the difference between two given times |
| C. | This function interprets tm structure as calendar time |
| D. | This function is used to modify the actual time format |
| Answer» E. | |
| 5. |
Which function used to modify the system date? |
| A. | getdate |
| B. | clock |
| C. | setdate |
| D. | mktime |
| Answer» D. mktime | |
| 6. |
____________ in C are used to interact with system time routine and formatted time outputs are displayed |
| A. | Ceil function |
| B. | Time functions |
| C. | Measure function |
| D. | Hour function |
| Answer» C. Measure function | |