I am trying to search through all the records from start to finish and each time a record with onward connections is found the total count should be increased by 1. At the end the total count is output.
so far i have
but having problems getting to to work
Comparison between pointer and integer(char * and int ) getting ERROR on that.