Topic: Stack Problem / Level: intermediate

Problem: Write a program to reverse every fourth element in a stack without using any auxiliary data structures.

Run the code to see the output here...