C Languages Interview Questions

37. What is an endless loop?
 
  • An endless loop can mean two things.
  • One is that it was designed to loop continuously until the condition within the loop is met, after which a break function would cause the program to step out of the loop.
  • Another idea of an endless loop is when an incorrect loop condition was written, causing the loop to run erroneously forever. Endless loops are oftentimes referred to as infinite loops.
 
Your Name Your Email-ID
Your Answer
38. What are formal parameters?
 
  • In using functions in a C program, formal parameters contain the values that were passed by the calling function.
  • The values are substituted in these formal parameters and used in whatever operations as indicated within the main body of the called function.
 
Your Name Your Email-ID
Your Answer
39. What are the types of testing techniques?
  There are two types of testing techniques are
  • Human testing
  • Computer based testing
 
Your Name Your Email-ID
Your Answer
40. What is heap?
  Heap is an area of memory from where is allocated at runtime using malloc() or calloc() functions.
 
Your Name Your Email-ID
Your Answer
123456789101112


131415 Page 10 of 15