C program to count the number of words in a given string

preview_player
Показать описание
This video contains the information about, how to count the number of words in a given string or sentence using for loop in c programming.

About Playlist:

This play list contains the programs related to C Programming from beginners level to advanced level. This will help to boost up your c programming.

C Programs
C Programs for beginners
C programs tutorials
C programs lectures
C Programs examples
How to learn C Programming
Interview Programs in C
Example programs in C Language
VMS CLASS C Programs
C Tutorials for beginners
C programs for practice

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

thank you so much for the solution sir

singhzone
Автор

What if I add more than one space?? It won't work(

Suleyman
Автор

This code counts spaces and adds 1 at the end rather than counting words. it fails to correctly count strings like this one " Hello "

StackMemoryx
Автор

Are you from malla Reddy hospital in hyd

Opganesh-ve
Автор

Sir what to do if the given string is bigger then the capacity to store it

aaryav
visit shbcf.ru