Answers:
Pls watch this tutorial to know about pointers in C.
https://spoken-tutorial.org/watch/C+and+Cpp/Understanding+Pointers/English/
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.
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;
Refer to the following websites:
https://www.tutorialspoint.com/cprogramming/c_pointers.htm
https://spoken-tutorial.org/watch/C+and+Cpp/Understanding+Pointers/English/
Login to add comment