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

Give me some ideas about Mechanical draughtsman profile and course.
Talking about profile as Mech Draughtsman, it's a very Important part of Design department in a company because as a Draughtsman you deliver the Production Drawings for Manufacturing and Models for CAM...
Yogesh
What is one ton of refrigeration?
cooling effect produced by melting one ton of ice from and at 0C within 24 hours is one ton of refrigeration.
Ayush

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

Ask a Question

Related Lessons

Mechanism Introduction
A

Arnab Bhattacharjee

0 0
0

Solution to a trigonometric problem.
∫ sin‾¹ x dx Let's use integration by parts Let u = sin‾¹ x. ( du = 1/√1 - x² dx ∴ dx = du/√1 - x² ). dv = dx ∴ v = ∫ 1• dx...

Saturated Steam Tables
A saturated steam table is an indispensable tool for any engineer working with steam. It's typically used to determine saturated steam temperature from steam pressure, or the opposite: pressure from saturated...

Java Overview
Java platform overview Java platform components The Java platform consists of the following components. The Java language Like any programming language, the Java language has its own structure, syntax...
A

Akshay Shende

0 0
0

Material Science and Metallurgy
Hello, I would like to show very first how to visualize the subject. For this, we should have total concentration. To avoid obstacle coming in front of us, we will follow the following steps. Close your...

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