Merge pull request #5314 from AbrorPatidinov/patch-2

Correct C++ indentation standard
pull/4681/head^2
dsh 7 months ago committed by GitHub
commit 0476b725f4
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