Check If Words Are Anagrams | C Programming Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น •

  • @optimusprime9724
    @optimusprime9724 ปีที่แล้ว +2

    Thank you. It really helped. I was stuck thinking about how to compare letter by letter of each word, and ended up comparing the strings' values as array indexes, which resulted in it only giving 'true' value if both words were same. Your video really helped to clear my doubts, thank you.

  • @friedrichmyers
    @friedrichmyers ปีที่แล้ว +1

    Thanks for the solution but why did you use so many libraries?

  • @manaspaul
    @manaspaul 10 หลายเดือนก่อน

    Before getting into the loop, you can literally check the length of both words and return, I think this could optimise the solution a bit

  • @NikhilxD_m40a
    @NikhilxD_m40a 7 หลายเดือนก่อน

    I'm new to C programming but why was the char declared as a pointer as char*w1,char*2?

  • @01playbeatz
    @01playbeatz ปีที่แล้ว

    Didn't understand anything u should tell us how u create wach thing

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว

      I'm not sure what you mean by 'wach thing', sorry to hear the video didn't help you out, you might want to research some of the topics used in this video if that is the case. :-)