A program counter is a register in a computer processor that contains the address (location) of the instruction being executed at the current time. As each instruction gets fetched, the program counter increases its stored value by 1.
The function of the program counter holds address of instructions. For detailed information get help at CodeAvail-
Online Computer Science Assignment help