what is disadvantage of pointer in C
Answer Posted / abdul rahman
One of the disadvantage is while we are deallocating the
memory by using the free function, by mistake if we use a
pointer for which we do not allocate memory, may lead to
complete system down. This is because that unknown pointer
may point to the memory in which system files are stored.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the use of parallelize in spark?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Why is c called a mid-level programming language?
Is there any data type in c with variable size?
What is a dynamic array in c?
What is typedf?
How can I sort a linked list?
Explain how can I right-justify a string?
What is a function simple definition?
What is a class c rental property?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What do you understand by friend-functions? How are they used?
Why main is used in c?
What is const and volatile in c?
cavium networks written test pattern ..