answersLogoWhite

0

How pointers make c language vulnerable?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

Pointers make C (or any pointer language, for that matter) vulnerable, only to the extent that the programmer allows them to make it so. I say clearly, the vulnerability or solidity of the language is not the responsibility of the pointer, but of the programmer. If you write poor software, do not blame that on the language.

Now, it happens that pointers are a particularly dangerous thing, because their misuse can cause all sorts of bad things to happen. That still remains the programmer's fault, not the pointer's fault. It is also true that pointers are a particularly powerful thing, because their (proper) use can cause all sorts of good things to happen. It's still the programmer's glory, wouldn't you say?

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How pointers make c language vulnerable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Are there any FAQs in pointers in c language?

Wikipedia can be a starting point.


What is meant by pointers in c language?

Variables (or constants) that contain addresses.


How do you run graphics program in C?

pro c language to implement linear search using pointers


Why pointer is callded jewel of c language?

a pointer is a derived data type in c. pointers are undoubtedly one of the most distinct and exciting features of c language.it has added power and flexibility to the language. *pointers are more efficient in handling arrays and tables. *pointer can be used to support dynamic memory management. *pointers reduce length and complexity of programs. *increase the execution speed and thus reduce the program execution time. by following character's real power of c lies in proper use of pointers. pointer is called the jewel of c-language.


Why does is used as a pointers in c language?

Let's suppose, you wanted to ask:Why thisis used as a pointer in C++ language? Because it is a pointer to the 'current object'.


In C you use the concept of pointers whereas there are no pointers used in JAVA why?

Pointers in C are generally the thing that gives learners the most trouble. When C code is not written correctly with respect to pointer use, the resulting bugs can often be very difficult to find and correct. On the other hand, pointers are absolutely necessary in some cases.The designers of Java wanted to make programming easier and hence avoided adding pointers to the language. Java does have object references which accomplish much of what pointers accomplish albeit in a safer way.


What are the data type in c language?

Some of them are: 1. char, short, int, long, float, double 2. pointers to these 3. arrays of these 4. arrays of pointers 5. pointers to arrays ...


Why you are not using pointers in java?

Pointers is a very powerful feature that is available in the C programming language but at the same time it is very confusing and many of the issues that arise out of C programs is because of incorrect or inappropriate usage of pointers. Hence the creators of Java language opted to exclude the pointers feature and create Java as a language where the programmer cannot access the native memory area and the memory accessing is left to the system to be taken care of.


How does c behave as low level language through pointers?

It doesn't. You must have misunderstood something.


What are the applications of pointers in using c language?

Accessing data by address. Some data-structures, like lists and trees, are usually implemented using pointers.


Why use pointer in c language with file handling?

Don't store pointers in files, it makes no sense.


Do you have pointer concept in c plus plus language?

Yes. All string variables are pointers as are other arrays.