Variable Scope and Data Types
#include <iostream> using namespace std ; int global = 9 ; //This is Global variable void sum () { int a ; cout << global ; } int main () { // int a = 14; // int b = 15; //We can make(Same Name) Local and Global variable of the Same name but // the precedence will be given always to Local variable int global = 10 ; //This is Local Variable global = 22 ; //This is Local Variable int a = 14 , b = 15 ; float pi = 3.14 ; char c = 'd' ; bool isCheck = true ; bool isCheck2 = false ; cout << "This is the Tutorial. \n Here the value of a is " << a << ". \n The value of b is " << b ; cout << " \n The value of pi is: " << pi ; cout << " \n The value of...