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
difference between native and cross compilers
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What is the difference between malloc calloc and realloc in c?
What is const volatile variable in c?
Explain what are binary trees?
What is a pointer in c?
What is malloc return c?
Why is structure important for a child?
What is meant by type specifiers?
What is f'n in math?
What is variable and explain rules to declare variable in c?
Why is it that not all header files are declared in every C program?
Explain how can you check to see whether a symbol is defined?
Where are the auto variables stored?
How can you avoid including a header more than once?