All India Exams
Home AptitudeBankEngineeringEnglishGKInterviewOnline TestPlacement PapersReasoning
  • Home
  • Aptitude
  • Bank
  • Engineering
  • English
  • GK
  • Interview
  • Online Test
  • Placement Papers
  • Reasoning

File Access C Questions And Answers

Here you can find File Access C Questions and Answers.

Why File Access C Questions and Answers Required?

In this File Access C Questions and Answers section you can learn and practice File Access C Questions and Answers to improve your skills in order to face technical inerview conducted by Banks. By Practicing these interview questions, you can easily crack any Bank Exams interview.

Where can I get File Access C Questions and Answers?

AllIndiaExams provides you lots File Access C Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download File Access C Questions and Answers as PDF files and eBooks.

How to solve these File Access C Questions and Answers?

You no need to worry, we have given lots of File Access C Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.

File Access C Questions and Answers

1. The first and second arguments of fopen are?

File Access C Questions and Answers

2. For binary files, a ___ must be appended to the mode string.

File Access C Questions and Answers

3. If there is any error while opening a file, fopen will return?

File Access C Questions and Answers

4. Which is true about getc.getc returns?

File Access C Questions and Answers

5. When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?

File Access C Questions and Answers

6. What is the meant by ‘a’ in the following operation? fp = fopen(“Random.txt”, “a”);

File Access C Questions and Answers

7. Which of the following mode argument is used to truncate?

File Access C Questions and Answers

8. Which type of files can’t be opened using fopen()?

File Access C Questions and Answers

9. Which of the following fopen statements are illegal?

File Access C Questions and Answers

10. What does the following segment of code do? fprintf(fp, “Copying!”);

Home EngineeringComputer Science & EngineeringC Multiple Choice Questions & AnswersFile Access

File Access - C Multiple Choice Questions & Answers

This is the c programming questions and answers section on " File Access " with explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand.

File Access C Questions

Online Test Name File Access
Exam Type Multiple Choice Questions
Category Computer Science Engineering Quiz
Number of Questions 13
1. The first and second arguments of fopen are?
  • A. A character string containing the name of the file & the second argument is the mode.
  • B. A character string containing the name of the user & the second argument is the mode.
  • C. A character string containing file poniter & the second argument is the mode.
  • D. None of the mentioned of the mentioned.
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


2. For binary files, a ___ must be appended to the mode string.
  • A. Nothing
  • B. b"
  • C. binary"
  • D. 01?
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


3. If there is any error while opening a file, fopen will return?
  • A. Nothing
  • B. EOF
  • C. NULL
  • D. Depends on compiler
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

None.

Workspace

Report Error


4. Which is true about getc.getc returns?
  • A. The next character from the stream referred to by file pointer
  • B. EOF for end of file or error
  • C. Both a & b
  • D. Nothing
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

None.

Workspace

Report Error


5. When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?
  • A. Standard input
  • B. Standard output
  • C. Standard error
  • D. All of the mentioned
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option D

Explanation:

None.

Workspace

Report Error


  • «
  • 1
  • 2
  • 3
  • »

Related Topics:

  • Declarations
  • Structures, Unions, Bit-fields
  • C Data Types
  • Preprocessor
  • Variable Names
  • Control Flow Statements
  • Typedef
  • Pointers
  • Storage Management
  • C Operators

Mock Tests & Online Quizzes

  • Aptitude Online Test

  • Reasoning Online Test

  • GK Online Test

  • English Online Test

  • RRB Mock Test

  • RBI Mock Test

  • Free SBI Mock Test

  • IBPS Mock Test FREE

  • SSC Mock Test

  • CAT Exam Mock Test

  • GATE Mock Test

  • IT Courses Quiz

Questions and Answers

  • Aptitude Questions
  • Verbal Reasoning Questions
  • Non Verbal Reasoning
  • Logical Reasoning Questions
  • Data Sufficiency Questions
  • Data Interpretation
  • eLitmus Sample Papers
  • ECE Questions and Answers
  • EEE Questions and Answers
  • Verbal Ability Questions
  • GK Questions

Programming Quiz

  • C Programming
  • C++ Programming
  • PHP Programming
  • Java Programming
  • Python Programming
  • DataScience MCQ
  • Hadoop MCQ
  • Mongo DB MCQ
  • MySQL MCQ

Interview Questions

  • Java Interview Questions
  • .Net Interview Questions
  • Networking Interview Questions
  • C Language Interview Questions
  • C++ Interview Questions
  • Testing Interview Questions
  • Android Interview Questions
  • HR Interview Questions
  • Group Discussion Topics

Mock Tests

  • CAT Mock Test
  • SSC Mock Test
  • AMCAT Mock Online Test
  • LIC Mock Test
  • IBPS Mock Test
  • RRB Mock Test
  • RBI Mock Test
  • Free SBI Mock Test
© by AllIndiaExams.in. All Rights Reserved | Copyright | Terms of Use & Privacy Policy