Q : Write a Program to count lines, words and characters with a definition that a word is any sequence of characters that does not contain a blank, tab or new line.
Solution :
/*==============================
Girfa Student Help
Program : Count Word Character new line
More Program
:http://girfahelp.blogspot.in/p/1.html
================================*/
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void main()
{
FILE *pt;
char ch;
int character=0,line=1,word=1;
clrscr();
pt=fopen("data.txt","r");