String programs in C | C Programming for Beginners | AnyBody can Code | #22

preview_player
Показать описание

In episode 22, we will be discussing the following String programs in C programming.
1) Program to find the most repeated character in a given string
2) Program to reverse a string in C

*********************************
Quick Links To Boost Your Programming Prep:

*********************************
Рекомендации по теме
Комментарии
Автор

at first i thought the code is going to detect the no. of repeating elements in the string, but finally the string is reversed . thank you for the video

harishkumar-ggnt
Автор

In reverse string program. The i value is 0 and you are assigning null value '\0' to str2, then the null value is stored in str2[0] (starting position), But we are supposed to store null value in last of str2, how it worked?

achyut_nulu
Автор

sir i don't know why u use nested loop in this program, pls explain it

harishkumar-ggnt
Автор

reversed prblm is not clear
expalin it well

senthilkumarans