1. Question: Which two lines set up things so that the libraries with console input and output facilities are available to the c++ program?

    A
    #include <iostream> using namespace std;

    B
    #include <conio.h> using namespace std;

    C
    #include <stdio.h> using namespace std;

    D
    #include <iostream.h> using namespace std;

    Note: Not available
    1. Report
  2. Question: How do we check if the file has reached its end?

    A
    Use if_file_end()

    B
    Use end_of_file()

    C
    Use eof()

    D
    None

    Note: Not available
    1. Report
  3. Question: Under which of the following circumstances, synchronization takes place?

    A
    When the file is closed

    B
    When the buffer is empty

    C
    Explicitly, with manipulators

    D
    All

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd