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

main is a predefined or user define function if user defined why? if predefined whay?

12 Answers   TCS,


Why can't I perform arithmetic on a void* pointer?

0 Answers  


What is an endless loop?

0 Answers  


Explain bitwise shift operators?

0 Answers  


using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

0 Answers  






Explain continue keyword in c

0 Answers  


Are pointers integers in c?

0 Answers  


What is a good data structure to use for storing lines of text?

0 Answers  


main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.

1 Answers   Cisco,


Explain what does a function declared as pascal do differently?

0 Answers  


Is there a way to jump out of a function or functions?

0 Answers  


what is the use of pointers

6 Answers   Adobe, GrapeCity,


Categories