What are the differences between malloc() and calloc()?
What are macros? what are its advantages and disadvantages?
Submitted by: AdministratorBoth malloc and calloc are used for allocating memory dynamically.But the difference is,in malloc elements are not initialised and hence holding garbage values where as in calloc the elements are get initialised.
Macros are used for speed up the process.The disadvantage is they are not having type_check phenomenon.
Submitted by: Administrator
Macros are used for speed up the process.The disadvantage is they are not having type_check phenomenon.
Submitted by: Administrator
Read Online ILU Job Interview Questions And Answers
Top ILU Questions
☺ | Explain the full form of ILU? |
☺ | Explain process of creating a DASHBOARD in Microstrategy? |
☺ | What is ILU? |
☺ | Explain How to convert decimal to binary and its formula? |
☺ | What are the differences between malloc() and calloc()? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |