#include <iostream>
using namespace std;
   
// Global variable declaration:
int g = 100;
   
int main () 
{
    // global variable g
    cout << g;
      
   // Local variable g
   g = 60;
   cout << g;
   
   return 0;
}
What will be the output of the above program?

Posted on by