Answers for "define variable in the c++"

C++
7

C++ Variable

#include <iostream>
using namespace std;
int main(){
	
int number = 1;              
double decimal = 6.9;    
char characterx = 'i';   
string text ="Sup";     
bool boolean = true;      

return 0;
}
Posted by: Guest on May-22-2021
2

what is a variable in cpp

Variable is simply a name or a label given to a memory location.
Posted by: Guest on October-06-2021

Browse Popular Code Answers by Language