dig_ctrl_var = vote_amt[p]+48; ?
lcd display ascii character.
48 = 0 in ascii
how u will display 5 on lcd?
add 5 in 48 =53
53 decimal charatcer is equal to 5 in ascii characters.
have a look on ascii table . just google it ..
the above statemnt is taking a number from a array , converting that number to ascii and copy to dig_ctr_var.