answersLogoWhite

0

Why pointers in c?

User Avatar

Anonymous

10y ago
Updated: 8/19/2019

Pointers are variable that are used to point to the address of another variable. OR Pointers can also me defined as variables that are used to store address of another variable. They provide means through which the memory location of variable can be directly accessed and they also support dynamic allocation routines.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is the difference between c plus plus and java programming?

Java doesn't have pointers. C++ has pointers.


What is stream pointer in c?

C does not have stream pointers.


What is decleration part in C programming?

pointers.


What is the difference between pointers in c and c plus plus?

Nothing.


Pointers are include in csharp or not?

Yes, you can use pointers in the C#, but to some extent. Links are added with more details.


What is indirection in c?

Accessing data via pointers.


What are the pointers in computer programming using c?

addresses


Which are the possibe arithmetic operation with pointers?

Pointers in C are stored as integers. You can perform any mathematical operations on pointers that you can perform on ints.Of course not, the following operations are possible: =, +, +=, ++, -, -=, --, *, [], ->, typecast


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.


How do you write a reverse function in C plus plus without pointers?

You can either use references or you can simply return the result by value. Note that in C++, unlike C, references are not the same as pointers. C++ references are aliases, alternate names for existing objects, whereas pointers are just variables that may contain a memory address that can be dereferenced.


What is the special features of pointers in c?

Dynamic memory allocation


What are permissible pointers in c?

Here is an example: int *p