MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers
→
Select text file in which data is stored in
1.
Select text file in which data is stored in
A.
ASC11 code
B.
Binary code
C.
Octal code
D.
text code
Answer» B. Binary code
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
In fopen(), the open mode "wx" is sometimes preferred "w" because. 1) Use of wx is more efficient. 2) If w is used, old contents of file are erased and a new empty file is created. When wx is used, fopen() returns NULL if file already exists.
which Is data type of file pointer is?
#include <stdio.h>int main(){ int i=3; printf("i=%*d", i, i); return 0;}28.stderr, stdin, stdout are FILE pointers
Select text file in which data is stored in
Select a function which is used to write a string to a file?
#include <stdio.h>int main(){ char c; FILE *fp; fp=fopen("demo.txt","a+"); // demo.txt : hello you are reading a file fprintf(fp," demo"); fclose(fp); fp=fopen("myfile.txt","r"); while((c=fgetc(fp))!=EOF) printf("%c",c); fclose(fp); return 0;}22.A data of the file is stored in?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies