C Languages Interview Questions

57. What are the different ways to represent strings?
  Strings can be represented using array of characters and a linked list.
 
Your Name Your Email-ID
Your Answer
58. What is assignment operator in C?
 
  • Assignment operators are used to assign the values to the variables.
  • Assignment operators are =, +=, -=, /+, %= etc.
 
Your Name Your Email-ID
Your Answer
59. What is the minimum and maximum number of functions that a program may have?
  There is no upper limit on the number of functions in a program as it depends on the problem under consideration. However, the minimum number is 1 and the only function a program may have is the main() function.
 
Your Name Your Email-ID
Your Answer
60. Can we increase the size of the dynamically allocated array?
  Yes. This can be done using the realloc() function.
 
Your Name Your Email-ID
Your Answer
123456789101112


131415 Page 15 of 15