Examveda

What will be the output of the following C++ code?
#include <iostream>
int const s=9;
int main()
{
    std::cout << s;
    return 0;
}

A. 9

B. Garbage value

C. Error

D. Segmentation fault

Answer: Option A


Join The Discussion

Related Questions on Introduction to C plus plus