srdusr
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--languages/c.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/languages/c.md b/languages/c.md
index 6b5ae6d..58a309e 100644
--- a/languages/c.md
+++ b/languages/c.md
@@ -175,4 +175,10 @@ int *pointerName = &variableName;
// Accessing value through pointer
int value = *pointerName;`
```
+- - -
+##### Input/Output:
+- printf("Text"); // Prints text on the console
+- scanf("%d", &<variable>); // Reads input from the user
+
+- - -