les say we have a binary file. and 1st letter is 3.
how do i take 3 and put it into a char ar[].

what i did was

if(fread(ar, 1, 1, fine))


If you want to put it into the first byte of ar[] then what you posted is ok. If you want to put it somewhere else then you have to tell the compiler where to put it, e.g. fread( &ar[i], 1, 1, fine);