lseek in c

sir,

i used lssek as this

lseek(fp,-10,2);

i am not getting any output i dont now why can you explan sir..

                         Thanks in advance,
                          Arunkumar

Is this related to any academic project ?

No obvoiusly not can you explain]

lseek is not intended to produce output.

lseek returns the offset into the file in bytes.
After you call lseek you then have to read the file with fgets() or fread() then printf() the result to get "output"