thanks KerimF for ur valuable reply,
sir, in my project of Electronic voting machine, i m using 29 buttons for candidate selection & another button to poll a vote after selection of the candidate. it means i need 29 variables to store thier data in somekind of nonVolatile IC like 24c16. On every candidate's button press & confirm button press, the machine would increment the count of that particular candidate or the variable declared for that candidate,so i need a code for this configuration in C. could u send me the code for at89s55wd.