Computer Science, asked by luckexplosion5763, 1 year ago

How the variable declaration is done in C++

Answers

Answered by Anonymous
0
\textbf{HeY There!}

=>Here is ur Answer<=

Example to declare a variable of type int called x and initialize it to a value of zero from the same moment it is declared, we can write: int x = 0; A second method, known as constructor initializatio encloses the initial value between parentheses ( () ):

|HopE__It__HelpS| :-|

Similar questions