I am getting an error for void main() function.. Please help me. I am using AT89C51.
error 267: 'elseif': Requires ANSI-style prorotype.