File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ #include <stdio.h>
2
+ #include <string.h>
3
+
4
+ int main ()
5
+ {
6
+ char str [50 ];
7
+ printf ("Enter any string\n" );
8
+ gets (str );
9
+ puts (str );
10
+
11
+ printf ("Length of the string %d" ,(int )strlen (str ));
12
+ if (strcmp (str ,"Hello World" )== 0 )
13
+ {
14
+ printf ("Strings are equal\n" );
15
+ }
16
+ }
Original file line number Diff line number Diff line change 22
22
23
23
#### STRING
24
24
25
+ * [ STRINGS] ( Data-Structures/STRING/String.c )
26
+
25
27
#### LISTS
26
28
27
29
* LINKED LIST
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ Indexer for Data Structures Lover
88
88
* blog
89
89
* docs
90
90
* implementation
91
+ * [ C] ( C/Data-Structures/STRING/String.c )
91
92
* [ JAVA] ( Java/Data-Structures/STRING/Strings.java )
92
93
* complexity
93
94
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ This page contains the complexities of different algorithms in this repository.
65
65
* [ HEAPED 3D ARRAY] ( #dynamic-3d-arrays-(CC++) )
66
66
* [ JAGGED ARRAY] ( #jagged-array )
67
67
* [ STRING] ( #string )
68
- * Strings in C
68
+ * [ Strings in C]
69
+ * [ Strings in C++]
69
70
* [ Strings in JAVA] ( #strings-in-java )
70
- * Strings in C++
71
71
* [ LISTS] ( #lists )
72
72
* SINGLE
73
73
* [ SINGULAR LINKED LIST] ( #singular-linked-list-having-head-and-next )
You can’t perform that action at this time.
0 commit comments