Emperor Sabi avatar

program helper page of c++.

learnandgrow

Published: 25 Dec 2017 › Updated: 25 Dec 2017program helper page of c++.

program helper page of c++.

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

Leave program helper page of c++. to:

Written by

SCIENTIST, Programmer,Photographer, Entrepreneur & Steemian .

Read more #programming posts


Best Posts From Emperor Sabi

We have not curated any of learnandgrow's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Emperor Sabi