Science Teacher Question:
Download Questions PDF

Please write the general formats for file opening and file closing commands?

Science Teacher Interview Question
Science Teacher Interview Question

Answer:

For Opening:-

☛ fp=fopen(“filename” , “mode”);
☛ where ‘fp’ refers to the file pointer.
☛ ‘filename’ refers to the name of the file to be opened.
☛ ‘mode’ refers to the mode of accessing data.

For Closing:-
☛ fclose(fp); where fp denotes the file pointer.

Download Science Teacher Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what are the ways of storing data in Files?Explain what instructional strategies would you use in a Science, Math, Social Studies(or other type of) lesson?