+ 3
What is a pointer?
Accualy i read that from a yt chanel but i haven't understand perfectly. I hope you will answer it in a easiest way.
5 Respuestas
+ 4
Pointers are variables that store the memory addresses of other variables.
* = pointer
& = address
e.g:
int a = 5;
int *pointer;
pointer = &a;
+ 6
A pointer is used to store the memory address of other variable .
Declaration of pointer : It is declerad using asterisk (*) .
Syntax : Type of pointer * pointer name.
Eg : int *p // pointer p type integer
char *a// pointer a type character
+ 2
Pointer is a variable stores address of another variable
Pointer can be used as or in
Variable
Array
String
Function
Structure/Union
File
Pointer is having powerfull feature
Dynamic Memory Allocation
Makes application dynamic and effective
+ 1
Oh ok thanks to all of you🙏🙏