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
What is an example of iteration in C? An example of iteration in C is using a loop con…
0 కామెంట్లు