answersLogoWhite

0

Pointers in C allow you to transfer references data around without transferring the data itself.

Think of it like a parcel. Instead of sending the entire package which might cost a lot in postage, you send a slip of paper with the location of the package and the other person goes and collects it from that location. The "cost" of sending the slip of paper is comparable to the memory and time "cost" of transferring data in a program.

To take the analogy further, you can send slips of paper to lots of people who can all go and reference the same package, which saves you making copies of the package which would take up more space (memory).

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

Why use pointer in c language with file handling?

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


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.


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 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.

Related Questions

Why use pointer in c language with file handling?

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


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.


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.


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 run graphics program in C?

pro c language to implement linear search using pointers


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'.


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.


What is the need to use pointers in C programming?

find the address


How does c behave as low level language through pointers?

It doesn't. You must have misunderstood something.


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.