I have a problem with fread,i wrote that program
and in the input file only "Hello Word".
the out put of the program only prints "Hell"
and when I increase the elements in fread to 2 it
outputs "Hello Wo".
so for each element in fread it reads 4
characters (note i am using sizeof(Char*)
Please help..Thanks in advance.
Here is my code:
printf("first word is %s\n",text);