39-Write a C program to display the functions of pointer.

Program: 39

Write a C program to display the functions of pointer.

#include
#include
void main()
{
    int i=3;
    printf("Address of i = %u\n", &i);
    printf("Value of i = %d\n", i);
    printf("Value of i = %d\n", *(&i));
    getch();
}
Output
Address of i = 6356748

Value of i = 3 Value of i = 3

Lokesh Kumar: Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.
Related Post
Leave a Comment

This website uses cookies.