Home » C++ Programming » Data Types » Question
  1. What is the output of this program?
    #include 
    using namespace std;
    int main()
    {
    char ch = 'M';

    cout<< ch;
    return 0;
    }
    1. Compilation Error
    2. Runtime Error
    3. M
    4. All of above
    5. None of these
Correct Option: C

M



Your comments will be displayed only after manual approval.