Update index.md
This commit is contained in:
1 parent
09cb1ea827
commit
2a54ebb091
1 file changed
+2
-1
@@ -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