Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
~399 People Reached
About Me
Currently a student of VESIT mumbai, of MCA course.
i know c/C++, java script, vb, HTML,CSS,JavaScript,ASP etc,
i like blogging and net surfing, playing some indoor and outdoor games like cricket.
Favorite Forums
Favorite Tags
c
x
1
Re:
[CODE]#include<stdio.h> #include<string.h> int count(char string[]); void main(){ int i; char string[1001]; printf("String: \n"); gets(string); i = words(string); printf("No. of Words %d", i); } int count(char string[]) { int i, j, k; for(i = 0; i < strlen(string); i++){ if(string[i] == ' ') k += 1; else j += 1; } … |