what is disadvantage of pointer in C
Answer Posted / sourisengupta
The only drawback of pointer in C maybe that if used
carelessly, you can access and overwrite some critical
memory. For Eg: if you declare an array of 5 ints, arr[5].
and if you try to write on arr[5], you will end up writing
outside the array, and eventually corrupt some memory
location. So data security is lost while handling pointers
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
Write a simple code fragment that will check if a number is positive or negative.
What is signed and unsigned?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
Write a program to check prime number in c programming?
What is the use of getch ()?
Why do we need arrays in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
How can I handle floating-point exceptions gracefully?
Is c compiled or interpreted?
Define circular linked list.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What is a string?
Write a program to swap two numbers without using a temporary variable?
What is a #include preprocessor?