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:
@@ -28,7 +28,8 @@ int add(int a, int b)
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user