choose the statement which is incorrect with respect to dynamic memory allocation
Welcome to the solution site, which is interested in answering educational questions, as it provides an answer to your questions in all areas
The solution site is concerned with questions, answers and solutions for all study materials for all levels
Through the word “Ask a Question” at the top of the site, you can ask any topic or any question or inquiry you want answered by users specialized
to solving questions and educational and academic activities that you ask
Now let’s answer your question
choose the statement which is incorrect with respect to dynamic memory allocation
answer :Choose the statement which is incorrect with respect to dynamic memory allocation. Explanation: Execution of the program using dynamic memory allocation is slower than that using static memory allocation. This is because in dynamic memory allocation, the memory has to be allocated during run time.
Which is a correct statement in C language for dynamic memory allocation?
ptr = (int*) malloc(100 * sizeof(int)
