main()
{
extern
i;
printf("%d\n",i);
{
int
i=20;
printf("%d\n",i);
}
}
Answer:
Linker Error : Unresolved
external symbol i
Explanation:
The identifier i is
available in the inner block and so using extern has no use in resolving it.
Blog Author: Vijay Kumar
No comments:
Post a Comment