Is it possible to execute code even after the program exits the main() function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

5 Answers   TCS,


program for comparing 2 strings without strcmp()

4 Answers  


What are linker error?

0 Answers  


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

0 Answers  


char ch="{'H','I',0};printf("%s",ch);what is output

9 Answers   Accenture,






actually i have 2 years teaching experience as computer faculty but now i am a DBA but when i go for interview many peoples asked me why i left my teaching profession and why i want to come in this field kindly give me the proper answer of this queston

3 Answers   Ramco,


Can we use any name in place of argv and argc as command line arguments?

0 Answers  


How can I find the modification date and time of a file?

0 Answers  


Reverse a string word by word??

9 Answers  


there is two conditions , 1. while using for loop for printing 1 to 50 no's simulteneous 2. while using printf functios for printing 1 to 50 no's simulteneous with or without using variables who will take more time for compiling and execution? explain in details with reason?

1 Answers  


Why is it that not all header files are declared in every C program?

0 Answers  


When is a null pointer used?

0 Answers  


Categories