Assigning values to a pointer

#include <stdio.h>
int main (void)
{
    int i=200;
    int *j;
    j=&i;
    printf("%d\n",*j);
    return 0;
}


The output is given below:

200

0 comments:

Post a Comment