double pointers c 2b 2b

Solutions on MaxInterview for double pointers c 2b 2b by the best coders in the world

showing results for - "double pointers c 2b 2b"
Lacey
05 Sep 2017
1#include <stdio.h>
2
3int main(void)
4{
5    int value = 100;
6    int *value_ptr = &value;
7    int **value_double_ptr = &value_ptr;
8
9    printf("Value: %d\n", value);
10    printf("Pointer to value: %d\n", *value_ptr);
11    printf("Double pointer to value: %d\n", **value_double_ptr);
12}
13