C Programming Question and Answers

85. What is a nested loop?
  A nested loop is a loop that runs within another loop. Put it in another sense, you have an inner loop that is inside an outer loop. In this scenario, the inner loop performed a number of times as specified by the outer loop. For each turn on the outer loop, the inner loop is first performed.
 
Your Name Your Email-ID
Your Answer
86. What is the difference between single equal "=" and double equal "==" operators in C?
  Single equal is an assignment operator used to assign the values to the variables.
But, double equal is relational operator used to compare two variable values whether they are equal or not.
 
Your Name Your Email-ID
Your Answer
87. What is "&" and "*" operators in C?
  "*" Operators is used as pointer to a variable. Example: * a where * is pointer to the variable a.
& operator is used to get the address of the variable. Example: &a will give address of a.
 
Your Name Your Email-ID
Your Answer
88. 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