how to get the starting address of file stored in harddisk
through 'C'program.

Answer Posted / venu

FILE *fp ; is a virtual address in library.
You need meta data to find the location on hard disk.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of 'register' keyword in c language?

629


Why isnt there a numbered, multi-level break statement to break out

587


What does void main () mean?

733


Explain the advantages and disadvantages of macros.

624


Write the Program to reverse a string using pointers.

615






I heard that you have to include stdio.h before calling printf. Why?

588


What is the purpose of macro in C language?

661


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1531


Is stack a keyword in c?

635


What are the types of pointers in c?

530


What is difference between far and near pointers?

610


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

587


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

666


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

588


What is the hardest programming language?

671