Did you like how we did? Rate your experience!

4.5

satisfied

46 votes

What does the line, if mean in a C program?

From what I know, I think the statement is evaluating whether the variable regno equals the variable registrationno, here registrationno is a member variable of a structure and s is an array of such structures. I is a variable that is used as to access a structure at a particular index in the array. It would help if you could share the relevant part of the code though.

100%
Loading, please wait...