Wipro Interview Question

Write a code for time-delay in microcontroller 8051.