[POINTERS] IN C
------------------
POINTERS
-------------------
WHAT IS POINTER
every variable has a diffrent address in memory. pointer is a special variable who contain the address of the any other variable pointer is defined as ( star * ) symbol . you acces the variable by his address with help of pointers.
.EXAMPLE =
^^^^^^^^^^^^^^^^
RUN SCREEN
$$$$$$$$$$$$$
SOURCE CODE
$$$$$$$$$$$$$
#include<stdio.h>
#include<conio.h>
main()
{
int *j,x=5;
j=&x;
printf("%d %u",x,j);
printf("\n%d",*j);
getch;
}
##########################
ALL RIGHTS GOES TO [UB CODES]
##########################
\---------------------------------------------/