C Languages Interview Questions

9. What is wild pointer in C?
 
  • Uninitialized pointers are called as wild pointers in C which points to arbitrary (random) memory location.
  • This wild pointer may lead a program to behave wrongly or to crash.
 
Your Name Your Email-ID
Your Answer
10. What is arithmetic operator in C?
 
  • C Arithmetic operators are used to perform mathematical calculations like addition, subtraction, multiplication, division and modulus in C programs.
  • Arithmetic operators are +, -, *, /, %.
 
Your Name Your Email-ID
Your Answer
11. 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
12. 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
123456789101112


131415 Page 3 of 15