Answers for "how to define a int variable in c+"

C++
0

how to write int variable c++

//Declare integer variable in C++
int x;
//Initialize integer variable
x = 1;

//Declaring and Initialize in same line
int y = 0;
Posted by: Guest on March-20-2021

Code answers related to "how to define a int variable in c+"

Browse Popular Code Answers by Language