14 lines
326 B
C
14 lines
326 B
C
|
#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:
|
||
|
}
|