Teachers
Showing posts with label
words
.
Show all posts
Showing posts with label
words
.
Show all posts
Saturday, February 14, 2015
C program to count number of words in a string
#include<stdio.h>
#include<conio.h>
void main()
{
int i,words=1;
char str[100];
clrscr();
printf("Enter a string:");
gets(str);
for(i=0;str[i]!=
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)