Skip to content

Commit 0d3ace9

Browse files
author
arteknix
committed
fixed endline
1 parent 7564537 commit 0d3ace9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LearningC/Lessons/00_Start/minimal_printf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ int main(void){
88
float pi = 3.14159265358979;
99
char* name = "bugs bunny";
1010
/**/
11-
printf("My name is %s, and I'm %d years old. I love %f", name, age, pi);
11+
printf("My name is %s, and I'm %d years old. I love %f\n", name, age, pi);
1212
return 0;
1313
}

LearningC/Lessons/00_Start/minimal_w_args.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ the official/historical way for main
44
*/
55
#include <stdio.h>
66
int main(int argc, char* argv[]){
7-
printf("Hello C!\n%d args, for program %s", argc, argv[0]);
7+
printf("Hello C!\n%d args, for program %s\n", argc, argv[0]);
88
return 0;
99
}

0 commit comments

Comments
 (0)