program helper page of c++.

Words
49
Reading
1 min
Listen
Play
9y

Hey steemians.

I brought you the program helper post.

#include <iostream>
using namespace std;
void alpha();
//Global variable
int a;
int main(){
//local variable in main function
    a=10;
cout<<a<<endl;
cout<<"pond!"<<endl;
alpha();
}
void alpha(){
//local variable in user defined function
a=90;
cout<<a<<endl;
{
//block variable
    a=28;
    cout<<a<<endl;
}
}

program helper page of c++. | Ecency