Update index.md

Just adjusted a space, now it's more readable
pull/5314/head
Artorias - The Abyss Walker 9 months ago committed by GitHub
parent 09cb1ea827
commit f33af1dcf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      src/data/roadmaps/cpp/content/105-pointers-and-references/index.md

@ -28,7 +28,8 @@ int add(int a, int b)
} }
int main() int main()
{ int (*funcptr) (int, int) = add; // Pointer 'funcptr' now points to the functions 'add' {
int (*funcptr) (int, int) = add; // Pointer 'funcptr' now points to the functions 'add'
funcptr(4, 5); // Return 9 funcptr(4, 5); // Return 9
} }
``` ```

Loading…
Cancel
Save