From 2a54ebb091ceaf6b3341b4d6c7da2d3266e2c4fc Mon Sep 17 00:00:00 2001 From: Artorias - The Abyss Walker <158484431+AbrorPatidinov@users.noreply.github.com> Date: Fri, 8 Mar 2024 22:55:49 +0500 Subject: [PATCH] Update index.md --- .../roadmaps/cpp/content/105-pointers-and-references/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/cpp/content/105-pointers-and-references/index.md b/src/data/roadmaps/cpp/content/105-pointers-and-references/index.md index c7f205ce1..5653ca179 100644 --- a/src/data/roadmaps/cpp/content/105-pointers-and-references/index.md +++ b/src/data/roadmaps/cpp/content/105-pointers-and-references/index.md @@ -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 } ```