Whats the difference between strcmp and strcmpi in turbo C++ ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Whats the difference between strcmp and strcmpi in turbo C++ ?

Anyone preparing for their final CBSE board exam would be knowing that CBSE accepts only one of them for comparison . so, I want to know, For comparison ex. if(strcmp("word","word)==0) should we use strcmp or strcmpi ?

4th Mar 2017, 2:01 PM
Rishabh Kumar
Rishabh Kumar - avatar
1 ответ
0
Both functions are used to compare strings... the difference is strcmpi- compares the string without case sensitivity
4th Mar 2017, 7:14 PM
vishnu
vishnu - avatar