1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-02 13:52:46 +02:00

Merge pull request #5314 from AbrorPatidinov/patch-2

Correct C++ indentation standard
This commit is contained in:
dsh
2024-05-10 21:01:56 +01:00
committed by GitHub

View File

@@ -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
} }
``` ```