Explain about pointer in C?

Asked by Last Modified  

14 Answers

Follow 0
Answer

Please enter your answer

Home Tutor

A pointer is variable which can store the address of the another variable.. That is if you created any aaary you want to point the address of that data to other we can use
Comments

M.Tech in Computer Science with 7.5 yrs of Teaching Experience as Asst. Professor

A pointer is a variable which holds an address of another variable. Ordinary variable holds a value of that data type where as the pointer holds the address of another variable of same data type i.e. int x =10. means x is a variable which holds the value 10 and stored at some location 1000. int *ptr...
read more
A pointer is a variable which holds an address of another variable. Ordinary variable holds a value of that data type where as the pointer holds the address of another variable of same data type i.e. int x =10. means x is a variable which holds the value 10 and stored at some location 1000. int *ptr means ptr is a pointer which can hold the address of another variable of int. let ptr=&x. so ptr will have the address of x i.e. 1000 read less
Comments

Computer Teacher

A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the ``address of a variable''. The indirection or dereference operator * gives the ``contents of an object pointed to by a pointer''.
Comments

Tutor

Pointer is a variable which stores the address of some other memory location where the actual data value is.
Comments

Tutor

In Short: A Pointer is a variable. A pointer stores an "address". An "address" is denoted by a hexadecimal value. An "address" indicates the "memory location" where another variable's data is stored. So it is said that a pointer variable "refers to" another variable's memory location.
Comments

Certified C/C++/Core & Advance Java/Python Trainer

Its a special type of variable which holds the memory address of some other variable. As you would be knowing , every variable you create or declare has got some address in RAM. so if you declared a variable X like int X; //this will allocate 2 bytes of memory in RAM and an address of that allocated...
read more
Its a special type of variable which holds the memory address of some other variable. As you would be knowing , every variable you create or declare has got some address in RAM. so if you declared a variable X like int X; //this will allocate 2 bytes of memory in RAM and an address of that allocated memory area would be there.also a name X has been associated with that memory area Now you have 2 options to access that memory area: a) we can access that memory area using the name X associates with that memory area b) we can access that memory area using the memory address associated with that memory area. For the second approach , (b) we need to first store the memory address of X in some variable. Now comes the requirement of a POINTER.(As a pointer variable can store the memory address) int * ptr; //declaration of a pointer variable ptr=&X;//assigning the memory address of variable X to pointer variable ptr. Hope this helps. read less
Comments

Home tutor for Class 1-9 & for polytechnic Student for ETC & E&tc branch

A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address. The general form of a pointer variable declaration is ? type *var-name; Here,...
read more
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address. The general form of a pointer variable declaration is ? type *var-name; Here, type is the pointer's base type; it must be a valid C data type and var-name is the name of the pointer variable. The asterisk * used to declare a pointer is the same asterisk used for multiplication. However, in this statement the asterisk is being used to designate a variable as a pointer. read less
Comments

Be Good Do Good

pointer is a variable which stores the address of another variable
Comments

A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type.
Comments

Trainer

A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address.
Comments

View 12 more Answers

Related Questions

I am working with one engineering company. I want to learn all basic calculation of engineering. like machine design related.
To learn all basic calculations in engineering contact me or some professionals to teach u.This will help you to understand more concepts
Sandip
1 0
5
How many years of experience should a good Engineering tuition teacher need?
minimum two year teaching experience as professional at institute or engineering college
Ratan
0 0
7
What is meant by ferrari's solution in maths?
Solution of quartic equations.
Kiran
Hi I want to gain knowledge in RCC structures, estimation and costing, I do not have degree in civil but I deal in real estate so if anyone can provide this would be appreciated. I do have basic understanding of RCC and structure steel
RCC structure is the concrete structure reinforced by steel twisted rod. It is composite material. As it made by mixing of cement, stone chips, sand in perticular ratio and water. The rod diameter rod...
Varun

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

How To Manage a Difficult Time When The Job Opportunities Are Less?
I have heard a lot about this subject from young aspiring Civil & Structural engineers in the recent time. My own experience is that the best among the lott always find ways and succeed in the long...

Failing in relatively easy subjects - remedies
Often most parents complains that their ward cleared many hard subjects but could not cleared the easy subject. The students perception about the subject makes it easier or harder not the course content....
B

Babu T

0 0
0

Intro to C Programming
C is one of the most popular computer language today. C language was developed by Dennis Ritchie in 1972. C is portable, Robust, Procedure oriented, High level programming language. C requires compiler...

Class, Object and Methods in JAVA
Lesson-1: Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But...

Source and Load
The ideas of electrical source and load are extremely useful constructs in circuit analysis since all electronic circuits can be modeled as a source circuit, a load circuit, or some combination of the...

Recommended Articles

E-learning is not just about delivering lessons online. It has a much broader scope that goes beyond manual paper or PowerPoint Presentations. To understand the reach of E-learning and how the whole process works in developing the Educational system, we will discuss a few points here. Let us find out how this new learning...

Read full article >

While schools provide formal education to the children, the home is where they start learning about things informally. Parents think that schools will take the initiative to educate their children. Well, this is partially true, as parents also play an essential role in bringing up their child. For the development of particular...

Read full article >

With the mushrooming of international and private schools, it may seem that the education system of India is healthy. In reality, only 29% of children are sent to the private schools, while the remaining head for government or state funded education. So, to check the reality of Indian education system it is better to look...

Read full article >

Quality education does not only help children to get a successful career and life, but it also hugely contributes to society. The formal education of every child starts from school. Although there are numerous schools, parents find it challenging to choose the right one that would fit their child. It is difficult for them...

Read full article >

Looking for Engineering Diploma Tuition ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you