Is string compare case-sensitive in C?

It is case-insensitive . The behavior is NOT undefined (it is well-defined) if either string is a null ptr. Regular strncmp() has undefined behavior if either string is a null ptr (see: https://en.cppreference.com/w/cpp/string/byte/strncmp).

Sizin İçin Seçtik  What is Prophet method?

Leave a Reply

Your email address will not be published. Required fields are marked *

Is string compare case sensitive in C?

It is case-insensitive . The behavior is NOT undefined (it is well-defined) if either string is a null ptr. Regular strncmp() has undefined behavior if either string is a null ptr (see: https://en.cppreference.com/w/cpp/string/byte/strncmp).

Sizin İçin Seçtik  Is replaceAll case-insensitive in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *