Vidyalelo
C++ Programming · Q71

Introduction to C++

Programming · C++ Programming · question 71

Q71

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

A.
9
Answer
B.
Garbage value
C.
Error
D.
Segmentation fault

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board