"Illegal structure operation" error meaning

This program produces the error "Illegal structure operation".
Code
  1. #include<iostream.h>

  2. #include<conio.h>

  3.  

  4. const int i=10;

  5.  

  6. void main()

  7. {

  8.   const int i=20;

  9.   clrscr();

  10.   cout<<i<<endl<<::i;

  11.   cout<<endl<<&i<<endl<<&::i;

  12.   getch();

  13. }

  14.  
Copyright GeekInterview.com

Please explain the cause of this error.

Questions by Ruhani Chawlia   answers by Ruhani Chawlia

 

This Question is not yet answered!

 

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions