Can anyone please send me the code for counting pulses using timer 0 as counter in 'C'language.
Did you also forget to write
TR0=0; TF0=0;
?