What is the purpose of ftell?



What is the purpose of ftell?..

Answer / Neeraj Singh

In C, 'ftell' is a function used to get the current position in a file. It returns the number of characters that have been read since the file was opened or the last time 'ftell' was called on that particular stream.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is difference between far and near pointers?

1 Answers  


Software Interview Questions

1 Answers   CAT,


How is a null pointer different from a dangling pointer?

1 Answers  


disadvantages of realloc ?

1 Answers   HCL,


what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 Answers  


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


How can I sort a linked list?

1 Answers  


What are the uses of null pointers?

1 Answers  


what are enumerations in C

1 Answers   TCS,


Difference between for loop and while loop?

1 Answers  


Program to find larger of the two numbers without using if-else,while,for,switch

11 Answers   iNautix, Wipro,


what is the definition of storage classes?

3 Answers   Wipro,


Categories