FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

C Programming INTERVIEW QUESTIONS

Languages
Follow Us
 
33. What is "##" operator in C?
  ## is a pre processor macro in C. It is used to concatenate 2 tokens into one token.
Your Name Your Email-ID
Your Answer
 
34. What are all loop controls statements in C?
 
    Loop control statements in C are used to perform looping operations until the given condition is true. Control comes out of the loop statements once condition becomes false.
  • There are 3 types of loop control statements in C language. They are.
  • for
  • while
  • do-while
Your Name Your Email-ID
Your Answer
 
 
35. What is the difference between variable declaration and variable definition in C?
 
  • Variable declaration tells the compiler about data types and size of the variable. Whereas, variable definition allocates memory to the variable.
  • Variable can be declared many times in a program. but definition can happen only one time for a variable in a program.
  • Variable declaration is for assignment of properties and identification to a variable. Whereas, variable definition is for assignments of storage space to a variable.
Your Name Your Email-ID
Your Answer
 
36. What is the difference between the =symbol and ==symbol?
  The =symbol is often used in mathematical operations. It is used to assign a value to a given variable. On the other hand, the ==symbol, also known as "equal to" or "equivalent to", is relational operator that is used to compare two values.
Your Name Your Email-ID
Your Answer