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 actual argument?
Can include files be nested?
What is merge sort in c?
What is meant by int main ()?
What does. int *x[](); means ?
Why we not create function inside function.
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
How is pointer initialized in c?
How we can insert comments in a c program?
Explain how to reverse singly link list.
What are the types of data types and explain?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Explain #pragma statements.
Explain how do you print an address?
write a program in c language to print your bio-data on the screen by using functions.