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;
}
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;
}
variabili in c++
// sintassi per la dichiarazione e definizione di una variabile
<tipo> <identificatore> = <valore>;
// esempi di dichiarazione e definizione
int x = -1;
bool flag = false;
C++ variables
Create a variable called myNum of type int and assign it the value 15:
int myNum = 15;
cout << myNum;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us