Skip to content

Commit

Permalink
Merge pull request #5314 from AbrorPatidinov/patch-2
Browse files Browse the repository at this point in the history
Correct C++ indentation standard
  • Loading branch information
dansholds committed May 10, 2024
2 parents 1733371 + f33af1d commit 0476b72
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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
}
```
Expand Down

0 comments on commit 0476b72

Please sign in to comment.