icp/oer/courses/c-basics/sections/10-pointer/06-pointers-to-pointer/program.c

14 lines
326 B
C
Raw Normal View History

2018-05-05 22:18:02 +00:00
#include <stdio.h>
int main(int argc, const char *argv[])
{
// So why are nested pointers usefull?
// We have seen that arrays and pointers behave simmilarly
// nested arrays can be accessed via nested pointers.
char a = 'a';
char* b = &a;
char** c = &b;
// TODO: Print the value of a using c:
}