Interrupts getting ignored

Count:
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?

OK. That would all imply that interrupts are indeed being detected and the interrupt service routines correctly triggered.

Your post is entitled "Interrupts getting ignored". What is not happening in your sketch which you believe should happen ? In other words, how have you concluded that interrupts are being ignored ?