Check If Words Are Anagrams | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

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.

optimusprime
Автор

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

manaspaul
Автор

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

friedrichmyers
Автор

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

NikhilxD_ma
Автор

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

playbeatz