Develop To Improve
Sunday, November 10, 2019
static scope
#include <stdio.h>
#include <stdlib.h>
int main()
{
int x=1;
int y=1;
if(y==1){
int x=2;
}
printf("%d",x);
}
when I run the code it prints 1 on the screen. anyone has any idea?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment