Interrupts getting ignored

6v6gt:
OK. For the third time:

Then this question:
Also: how are you determining that an interrupt has not been detected ?

Ignore the last test code change I gave you and temporarily replace your loop with this which will determine if interrupts are working or not or maybe point to a logic error in your code.

void loop ()

{

if (ang == false )
  {
    Serial.println("Interrupt detected");
    ang = true ;
  }

}

Two reset switches are connected to pin 2 and 3 when pressed it gives HIGH to these pins. I press them manually.

After I use the code that you gave to me, in serial monitor I can see " Interrupt is detected" every time I press any of the two switches. Is it what is expected to happen?