This is the easiest method to solve a string palindrome using command line argument.
Below is the code to find the length of the string if you don't wanna use strlen().
length=-1;
for(i=0;str[i]!='\0';i++)
{
length++;
}
link of my previous video, you can watch this video for the proper understanding of argc and argv: • C program to Reverse a String using C...
Follow me on Instagram : https://www.instagram.com/jugnu.kushw...
Follow me on Quora : https://www.quora.com/profile/Jugnu-K...
Смотрите видео String Palindrome using command line argument !! TCS FAQ!! онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь jugnu kumar 12 Июль 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,655 раз и оно понравилось 46 людям.