This program produces the error "Illegal structure operation".
Code
#include<iostream.h>
#include<conio.h>
const int i=10;
void main()
{
const int i=20;
clrscr();
cout<<i<<endl<<::i;
cout<<endl<<&i<<endl<<&::i;
getch();
}
Copyright GeekInterview.com
Please explain the cause of this error.
"Illegal structure operation" error meaning
Please explain the cause of this error.
Profile Answers by Ruhani Chawlia Questions by Ruhani Chawlia
Questions by Ruhani Chawlia answers by Ruhani Chawlia
This Question is not yet answered!
Related Answered Questions
Related Open Questions