fseek function in c
snippet in c
functions return type in c
user2173
// Function Declaration :: int function (int);
// Function Call :: function( x );
// Function Return Type :: int
// Function Definition ::
int function(int x)
{
// statements;
return x;
}
fseek function in c
user5674
FILE* fp;
// if file is 50 bytes long:
fseek(fp, /* from the end */ 23, SEEK_END); // <- at 50 - 23 so 27
fseek(fp, /* from the start */ 23, SEEK_SET); // 23
fseek(fp, /* from the the current (see ftell) */ 10, SEEK_CUR); // 33