TRUE/FALSE 1. T F The functions fscanf and fgetc input data from files. 

TRUE/FALSE 1. T F The functions fscanf and fgetc input data from files. 

 

TRUE/FALSE

1. T F The functions fscanf and fgetc input data from files.

2. T F Each data file must have an internal and an external name.

3. T  F The file open mode “w” opens a file for writing.

4. T  F We can use the fprintf function to write data into a text file.

5. T F Assume that value is a variable of type int, the function call

fscanf (stdin, “%d”, &value); is correct.

6. T F  fscanf( ) and fprintf( ) are declared in the standard header file stdlib.h

7. T F A text file is terminated by EOF.

8. T F  The statement ifp = fopen(My_file”, “r”); opens a file for reading:

9. T F The function sprintf( ) writes characters to a string.

10. T F When a text file is opened, we have access to it at its beginning or

end.

11. T  F The main difference between scanf and sscanf is that sscanf gets its

input from the string variable, which is its first parameter, whereas

scanf gets its input from the standard input device.

12. T  F The standard output function sprintf behaves like printf except it

stores the output in its first parameter, which is a string variable.

13. T F  The statement fprintf (test_scores, “%d”, score); writes a datum to a

file named test_scores that has been opened in output mode.

14. T  F It is possible to reopen in input mode a file that has been opened in

output mode without closing it.

15. T F If the file open mode for a data file is “w” an input statement

referencing the file will read a datum from it.

16. T F The output of a computer program can be directed to the standard

output device, which is usually the monitor screen.

17. T F  printf (“%d %d”, a; b); is syntactically legal.

18. T F  scanf (“Enter a value for x: “, c1); is syntactically correct.

"96% of our customers have reported a 90% and above score. You might want to place an order with us."

Essay Writing Service
Affordable prices

You might be focused on looking for a cheap essay writing service instead of searching for the perfect combination of quality and affordable rates. You need to be aware that a cheap essay does not mean a good essay, as qualified authors estimate their knowledge realistically. At the same time, it is all about balance. We are proud to offer rates among the best on the market and believe every student must have access to effective writing assistance for a cost that he or she finds affordable.

Caring support 24/7

If you need a cheap paper writing service, note that we combine affordable rates with excellent customer support. Our experienced support managers professionally resolve issues that might appear during your collaboration with our service. Apply to them with questions about orders, rates, payments, and more. Contact our managers via our website or email.

Non-plagiarized papers

“Please, write my paper, making it 100% unique.” We understand how vital it is for students to be sure their paper is original and written from scratch. To us, the reputation of a reliable service that offers non-plagiarized texts is vital. We stop collaborating with authors who get caught in plagiarism to avoid confusion. Besides, our customers’ satisfaction rate says it all.

© 2022 Homeworkcrew.com provides writing and research services for limited use only. All the materials from our website should be used with proper references and in accordance with Terms & Conditions.

Scroll to Top