In how many ways we can initialize an int variable in C++?
For 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 initialization (introduced by the C++ language), encloses the initial value between parentheses ( () ):
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of data hiding?
What are the uses of typedef in a program?
What are the data types in c++?
given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you
Are vectors passed by reference c++?
Can notepad ++ run c++?
What is the use of endl in c++ give an example?
What is iterator in c++?
What is late binding c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What is the difference between *p++ and (*p)++ ?
what is meaning of isa and hsa