Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bf2249d

Browse files
add String Format specificr
1 parent 7d34d3f commit bf2249d

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

‎a.out‎

72 Bytes
Binary file not shown.

‎solve_problem.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main(){
1212
}
1313
// function Definition
1414
void string(char arr[]){
15-
for (int i = 0; arr[i] != '0円'; i++)
15+
for (int i = 0; arr[i] != '0円'; i++)// spacial in loop => arr[i] | for string
1616
{
1717
printf("%c" , arr[i]);
1818
}

‎strings.c‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// #include <stdio.h>
2+
// int main(){
3+
// char name [] = " Coder Boy " ;
4+
// printf("%s" , name);
5+
// printf("\n");
6+
// return 0;
7+
// }
8+
// ⭐⭐ String Format Specificr
9+
#include <stdio.h>
10+
int main(){
11+
char name [40] ;
12+
printf("Enter Your Name : ");
13+
scanf(" %s" , name);
14+
printf("Your Name is %s" , name);
15+
printf("\n");
16+
return 0;
17+
}
18+
19+
// Emoji
20+
// // 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ 🔟

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /