Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
Which of the following operations can be performed on the file "NOTES.TXT" using the below code? FILE fp; fp = fopen("NOTES.TXT", "r+"); ?->(Show Answer!)
Question Set

1. Which of the following operations can be performed on the file "NOTES.TXT" using the below code? FILE fp; fp = fopen("NOTES.TXT", "r+");





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.02 pm
    r+ Open an existing file for update (reading and writing).
Show Similar Question And Answers
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
QA->The extension jpeg in the name of a file indicates that it is a/an file.....
QA->Method of cultivating plants without using soil but by using nutrient solution?....
QA->In a secret way of writing COME AT ONCE FATHER VERY ILL is written as XLNV ZG LMXY UYGSVI EVIB ROO.Bearing this in mind pick up the code from the answer choices for the word given below: FIT AND WELL....
QA->In a certain code SUNDAY is coded as USDNYA. How could CREATION be written in that code?....
MCQ->Which of the following operations can be performed on the file "NOTES.TXT" using the below code? FILE fp; fp = fopen("NOTES.TXT", "r+");....
MCQ->Consider the following in C Arithmetic operations can be performed on ints.Arithmetic operations can be performed on floats.Arithmetic operation can be performed on chars Which of the above are correct?....
MCQ->Which files will get closed through the fclose() in the following program? #include<stdio.h> int main() { FILE fs, ft, fp; fp = fopen("A.C", "r"); fs = fopen("B.C", "r"); ft = fopen("C.C", "r"); fclose(fp, fs, ft); return 0; }....
MCQ->What will be the content of 'file.c' after executing the following program? #include<stdio.h> int main() { FILE fp1, fp2; fp1=fopen("file.c", "w"); fp2=fopen("file.c", "w"); fputc('A', fp1); fputc('B', fp2); fclose(fp1); fclose(fp2); return 0; }....
MCQ->On executing the below program what will be the contents of 'target.txt' file if the source file contains a line "To err is human"? #include<stdio.h> int main() { int i, fss; char ch, source[20] = "source.txt", target[20]="target.txt", t; FILE fs, ft; fs = fopen(source, "r"); ft = fopen(target, "w"); while(1) { ch=getc(fs); if(ch==EOF) break; else { fseek(fs, 4L, SEEK_CUR); fputc(ch, ft); } } return 0; }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution