• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
ianmunrobot1 Avatar
Name:Ian Munro
Clan:Fullstack Academy
Member Since:Aug 2016
Last Seen:Aug 2024
Profiles:
Following:436
Followers:436
Allies:435
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (1)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Ankit-rana
    • commented on "Grasshopper - Personalized Message" c solution
    • 8 years ago

    strcmp leaves 0 if strings are same.

    ternery operator is expecting nonzero for true eg. (condition)? true: false

    That's why !strncmp()

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...