+ 2

How to compare characters of array?

9th Mar 2018, 3:28 AM
Ashwin Andey
Ashwin Andey - avatar
6 Antworten
+ 3
we can compare them by ar[10]; if(ar[i]=='a') statement/s
14th Mar 2018, 4:51 AM
Ashwin Andey
Ashwin Andey - avatar
+ 2
what are you compareing them too?
9th Mar 2018, 6:40 AM
D_Stark
D_Stark - avatar
+ 2
comparing characters with alphabets
9th Mar 2018, 7:34 AM
Ashwin Andey
Ashwin Andey - avatar
+ 2
I want to compare not copy
15th Mar 2018, 2:58 PM
Ashwin Andey
Ashwin Andey - avatar
0
strcpy
15th Mar 2018, 2:57 PM
Prerana Malhari Thokal
0
strcmp
15th Mar 2018, 2:58 PM
Prerana Malhari Thokal