can you explain in brief what is "r+" mode in a file... i
know that it si used to read and modify rhe existing
content.... but explalanation about the file pointer in "r+"
mode i wann to know???????????
Answer Posted / manoj
Mode Type of file Read Write Create Truncate
"r" text yes no no no
"rb" binary yes no no no
"r+" text yes yes no no
"r+b" binary yes yes no no
"rb+" binary yes yes no no
"w" text no yes yes yes
"wb" binary no yes yes yes
"w+" text yes yes yes yes
"w+b" binary yes yes yes yes
"wb+" binary yes yes yes yes
"a" text no yes yes no
"ab" binary no yes yes no
"a+" text yes yes yes no
"a+b" binary no yes yes no
"ab+" binary no yes yes no
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why is c called "mother" language?
What is structure padding in c?
Why doesnt this code work?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What are the advantages and disadvantages of c language?
What are linker error?
What are the __date__ and __time__ preprocessor commands?
What are the advantages of using new operator as compared to the function malloc ()?
i got 75% in all semester am i eligible for your company
what is the role you expect in software industry?
How is a macro different from a function?
What is #include conio h?
What does void main return?