Global Variable Local Variable
#include <stdio.h>
int x=10; //Global Variable
int main() {
int y=20; //Local Variable
printf("\n x=%d y=%d",x, y);
return 0;
}
output:-
x=10 y=20
🧾 Program Statement Write a C program to accept a character from the user and displ…
0 కామెంట్లు