Skip to content

Commit 46a1d03

Browse files
Fixed the problem in code
1 parent 9b38900 commit 46a1d03

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

string5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main()
1212
str[i]=ch;
1313
i++;
1414
}
15-
str[i]='\n';
15+
str[i]='\0';
1616
puts(str);
1717
return 0;
1818
}

string5.exe

0 Bytes
Binary file not shown.

string6.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Find the salted form of a password entered by user

0 commit comments

Comments
 (0)