From f2b3e2091add3d0115e4f5b3748c56f749b7c00c Mon Sep 17 00:00:00 2001 From: Juan D Frias Date: Tue, 19 Feb 2019 21:11:11 -0800 Subject: [PATCH] Minor code corrections and text clarification (#30123) --- guide/english/c/macros/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/c/macros/index.md b/guide/english/c/macros/index.md index 4c6c2a8c4e..bb57a694c2 100644 --- a/guide/english/c/macros/index.md +++ b/guide/english/c/macros/index.md @@ -23,11 +23,11 @@ The `#define` keyword is used to define new macros. It's followed by a name and If you use the macro this way: ```C -printf("Value of PI: %d", PI); +printf("Value of PI: %f", PI); ``` Is the same as writing this: ```C -printf("Value of PI: %d", 3.14); +printf("Value of PI: %f", 3.14); ``` #### Undefining Macros After defining macros you can also undefine them at any point.