Knowee
Questions
Features
Study Tools

In C language, which of the following functions can not used to write data to a file?Select one or more:a.putsb.getsc.fprintfd.fputce.fputs

Question

In C language, which of the following functions can not used to write data to a file?Select one or more:a.putsb.getsc.fprintfd.fputce.fputs

🧐 Not the exact question you are looking for?Go ask a question

Solution

The function that cannot be used to write data to a file in C language is b. gets. This function is used to read a string from the standard input (keyboard) until a newline or the end of the file.

Similar Questions

In C language, which of the following functions are applied to write data to a file?Select one:a.fputs, puts, fprintf, fscanfb.None of the others.c.fgetchar, fputchar, freadchard.fprintf, fputc, fputs

Select a function which is used as a formatted output file functionQuestion 15Answera.fputs()b.puts()c.fprintf()d.printf()

What system call would you use to write to a file descriptor? (select all correct answers)writeprintffprintf

Which of the following function used as reading data ?Options :main()print()scanf()printf()

In C language, FILE is of which data type?None of the abovestructintchar*

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.