Sail E0 Webinar
Question

What is the output of this program?

#include

using namespace std;

int main()

{

int  const  p = 5;

cout

Options:
A .  5
B .  6
C .  Error
D .  None of the mentioned
Answer: Option C


We cannot modify a constant integer value.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers