C Programming Question and Answers

33. What is a structured programming language?
  A language is said to be a structural language if it meets the requirements of structured programming.
 
Your Name Your Email-ID
Your Answer
34. Where auto local variables are stored?
  These are stored in a stack. This stack is automatically maintained by the system.
 
Your Name Your Email-ID
Your Answer
35. What is a subprogram/module?
 
  • It is a program carrying out a particular function and which be called by another program known as the calling program.
  • A subprogram needs to be placed only once in memory and can be called by the main program or other subprogram as many times as the programmer wants.
  • Also known by various names as function, subroutine or procedure.
 
Your Name Your Email-ID
Your Answer
36. What are the differences between exit() and return statement?
 
  • First difference is that exit() is a function while return is a statement.
  • Second difference is that exit() function terminates the program while return statement terminate the function.
  • Third difference is that exit() function always return some value where it is optional for return statement.
 
Your Name Your Email-ID
Your Answer