Write a cpp program that describe all scope without writing a separate program for all types of scope. Write only one program.
Answers
Answered by
0
Answer:
Explanation:
Hi bro i don't know the answer but plzz don't report me
Answered by
0
#include<iostream.h>
#include<conio.h>
int a =5; //global variable
void main()
{
int a=7; // local variable
const int c = 5; // constant variable
static int v; // static variable
fun();
}
void fun()
{
int a = 6 //local block variable
}
Similar questions