MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-C-Programming-Course / main

Function main

Chapter 6/03_pointer2pointer.c:3–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main(){
4 int i = 6;
5 int* j = &i;
6 int** k = &j;
7
8
9 printf("The value of i is %d\n", i);
10 printf("The value of i is %d\n", *j);
11 printf("The value of i is %d\n", *(&i));
12 printf("The value of i is %d\n", **(&j));
13
14 return 0;
15}
16

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected