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. | |
58. | What is assignment operator in C? |
---|---|
|
|
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. | |
60. | Can we increase the size of the dynamically allocated array? |
---|---|
Yes. This can be done using the realloc() function. | |