saving . . . saved Pointer has been deleted. Pointer has been hidden .
Pointer
Title
Question
What is pointer in C ?

Advanced-Cpp Classes-And-Objects 01-02 min 20-30 sec 30-06-18, 12:01 p.m. harekrishna.nitb@gmail.com

Answers:

Pls watch this tutorial to know about pointers in C.
https://spoken-tutorial.org/watch/C+and+Cpp/Understanding+Pointers/English/
24-03-19, 9:40 p.m. nancy
A pointer is a special variable which is used to store address of another variable.
04-05-21, 4:48 p.m. saravana_7528

Login to add comment


A pointer is a special variable which is used to store address of another variable.

For ex.
   int a;
   int *p=&a;

in the above example, a is an integer type variable. p is a pointer variable which is used to store address of integer variable.

29-02-20, 3:59 p.m. chetan_kamani


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;

Refer to the following websites: 

https://www.tutorialspoint.com/cprogramming/c_pointers.htm

https://spoken-tutorial.org/watch/C+and+Cpp/Understanding+Pointers/English/

04-05-20, 11:07 p.m. Nityasree


Log-in to answer to this question.