Live Help (Start Chat)
View Count: 0
Duration: 18 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 14 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 14 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 21 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 26
What will happen when existing file is open using 'w' mode 
Options:
  1. Data added at end
  2. Content of file deleted.
  3. data of file is appended
  4. data added in continuity
View Answer/Explanation:
b
Explanation:

Question No: 2 of 26
What is the default return-type of getchar()? 
Options:
  1. char
  2. int
  3. char *
  4. Reading character doesn’t require a return-type
View Answer/Explanation:
b
Explanation:

Question No: 3 of 26
Which is the invalid I/O function in binary format? 
Options:
  1. Fseek
  2. fwrite
  3. fread
  4. fgets
View Answer/Explanation:
d
Explanation:

Question No: 4 of 26
Which of the following do not give compilation error? 
Options:
  1. using file function with file pointer
  2. access file with its pointer
  3. open file in existence of it
  4. read file that is in write mode
View Answer/Explanation:
a d
Explanation:

Question No: 5 of 26
Which of the following is invalid i/o function? 
Options:
  1. fscanf
  2. fseek
  3. ftell
  4. forward
View Answer/Explanation:
d
Explanation:

Question No: 6 of 26
Which function is used to read an integer value from a file? 
Options:
  1. getw
  2. fscanf()
  3. gets
  4. geti
View Answer/Explanation:
a
Explanation:

Question No: 7 of 26
Which of following is used for representing End of the file? 
Options:
  1. '/0'
  2. eof
  3. EOF
  4. garbage value
View Answer/Explanation:
c
Explanation:

Question No: 8 of 26
What is the data type and value of EOF? 
Options:
  1. int,1
  2. int,-1
  3. char,1
  4. float 1
View Answer/Explanation:
b
Explanation:

Question No: 9 of 26
The mode r is used for reading the file, what will be the output if the file does not exist 
Options:
  1. returns NULL
  2. new file created
  3. compilation error
  4. runtime error
View Answer/Explanation:
d
Explanation:

Question No: 10 of 26
What is function of mode 'a+' during opening the file? 
Options:
  1. Reading will start from beginning but writing data is added at end
  2. Directly add the data at the end
  3. data is overwritten
  4. create file during in existence of file
View Answer/Explanation:
a
Explanation:

  1