program helper page of c++.

in #programming8 years ago

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;
}
}

Coin Marketplace

STEEM 0.06
TRX 0.28
JST 0.046
BTC 63283.38
ETH 1826.14
USDT 1.00
SBD 0.52