#include<iostream>
using namespace std;
int a = 8;
void funzione1(){
a = 6;
cout<<"Questa 'a' e' globale ma stampata da funzione1(): "<<a<<"
";
}
int main(){
funzione1();
cout<<"Questa 'a' e' globale ma stmapata dal main(): "<<a;
}
Code Example |
---|
Cpp :: what is c++ |
Cpp :: reverse the number codechef solution in c++ |
Cpp :: The Rating Dilemma codechef solution in c++ |
Cpp :: apertura file in c++ |
Cpp :: print all substrings in c++ |
Cpp :: 0-1 knapsack problem implementation of code input array |
Cpp :: increment integer |
Cpp :: c++ stoi binary negative number string to decimal |
Cpp :: c to c++ code converter |
Cpp :: is obje file binary?? |
Cpp :: how to measure cpp code performace |
Cpp :: TCA9548 I2CScanner Arduino |
Cpp :: digits in c++ |
Cpp :: PUBG_APIKEY=<your-api-key npm t |
Cpp :: lru cache gfg |
Cpp :: what is blob in computer vision |
Cpp :: sleep function i nc++ |
Cpp :: KUNG FU HUSTLE |
Cpp :: error c4001 |
Cpp :: C++ Vector Initialization method 01 |
Cpp :: deifine an object in C++ |
Cpp :: c++ qt qtreewidget lock first column |
Cpp :: cpp cout more than 1 value |
Cpp :: sinh to hop c++ |
Cpp :: 01matrix |
Cpp :: How to clear keyboard buffer c++ |
Cpp :: ex:Roblox |
Cpp :: cplusplus |
Cpp :: choose endianness in cpp |
Cpp :: namespace c++ |