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  How do I use ignore case?

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  Hisse ucuz mu pahalı mı nasıl anlaşılır?

Leave a Reply

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