GLOBAL VARIABLES
#include<iostream> using namespace std; int a,b; int multiply() { a=198; return 0; } int main() { cout<<"BEFORE PROCESSING " ; a=19; cout<<a<<"\n"; multiply(); cout<<"AFTER PROCESSING "<<a; return 0; }
Comments
Post a Comment