Question:
Describe an example of opening files in write only mode?
AY
2013-04-22 12:30:32 UTC
Describe an example of opening files in these modes: Read only, Write only, Read-Write, and Append
Three answers:
Taz
2013-04-22 12:55:09 UTC
In C :

file=fopen("filename","r"); //read only. Replace "r" by "w" for read and write, "a" to append.

There are No mode for write only...:p
tribble
2016-11-30 06:47:14 UTC
My computer did that 2 circumstances. as quickly as I turn it on it is actual black instruct and it did no longer seem working. What you're experiencing could prefer to be a similar element that have been given here approximately to me yet i'm uncertain. i discussed as tech help and that they cautioned me that it is a static electric powered potential strengthen. It grew to develop into into fixed via utilising taking the battery out then pressing and keeping the skill button for 15-20 secs to discharge any electric powered potential. placed the plug, nonetheless leaving the battery out, turn it on. If it starts then it is the same element, yet together because it does no longer then you definately've diverse problems. it is great to the touch your tech help.
Mike G
2013-04-22 12:44:03 UTC
I've never heard of "write-only".


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...