C Programming Question and Answers
17. | What is the syntax for comments in C? |
---|---|
|
|
18. | List out some of C compilers? |
---|---|
There are so many compilers available in market for Windows operating system and UNIX. We are listing some of them here for your reference.
|
|
19. | What is the difference between exit() and return() in C? |
---|---|
|
|
20. | What is the difference between calloc and malloc? |
---|---|
calloc and malloc are used for dynamic memory allocation. calloc initializes the memory locations to zero by default but malloc memory contains garbage values. | |