C Programming Question and Answers

21. What are the different types of modifiers in C?
  There are five modifiers available in C language. They are
  • short
  • long
  • signed
  • unsigned
  • long long
 
Your Name Your Email-ID
Your Answer
22. What is constant in C?
 
  • Constants refer to fixed values. They are also called as literals.
  • C constants are also like normal variables.
  • But, only difference is, constant values can't be modified by the program once they are defined.
  • Constants may be belonging to any of the data type.
 
Your Name Your Email-ID
Your Answer
23. What are the types of constants in C?
  There are many types of constants in C Programming are
  • Integer constants
  • Real or floating point constants
  • Octal and hexadecimal constants
  • Character constants
  • String constants
  • Backslash character constants
 
Your Name Your Email-ID
Your Answer
24. What is dangling pointers in C?
  When a pointer is pointing to non existing memory location is called dangling pointer.
 
Your Name Your Email-ID
Your Answer