Computer Science, asked by alinagori1995, 4 months ago

Q:1 the ftell() function returns a small int value that gives the position of curp from the beginning of the file in the specified stream

True
False

Answers

Answered by harshdubey00001
0

Answer:

include <stdio.h>

long ftell(FILE *stream);

off_t ftello(FILE *stream);

off64_t ftello64(FILE *stream);

DESCRIPTION

The ftell() function returns the current position of the file pointer in a stream.

The ftello() function is identical to ftell() except for the return type.

The ftello64() function is identical to the ftello() function except that it is able to return file offsets that are greater than 2 gigabytes. The ftello64() function is a part of the large file extensions.

PARAMETERS

stream

Points to a stream whose current position is desired.

RETURN VALUES

If successful, the ftell() and ftello() functions return the current file position for the stream, measured in bytes from the beginning of the file. On failure, they return -1 and and errno is set to one of the following values:

EBADF

The file descriptor underlying stream is not valid.

EOVERFLOW

The current file offset cannot be represented correctly in an object with the specified return type.

ESPIPE

The file descriptor underlying stream is associated with a pipe or FIFO.

Answered by shoaibalisyed2004
0

Answer:

true

Explanation:

Similar questions