fread doubt

(c = fread (buffer, sizeof (char), SIZE, stdin)…is it supposed to run the number of characters input . because i am using visual studio 2010 and it gives only values 0 and 1.please help.

@sumit009singh not sure but still you can try this link:->http://msdn.microsoft.com/en-us/library/c565h7xx.aspx

1 Like

the point is fread is supposed to return number of characters read into the buffer .isn’t it so??but i am getting 0 or 1.The correct submissions on this site are not giving correct answer so there is a problem with the way i am providing the input .is it?

//