This Ternary Operator in c program allows the user to enter his or her age and assign the user entered integer value to age variable. If the user entered value is 18 or above then it will print the first statement after the ? symbol.

printf(" You are eligible to Vote ")

If the user enters below 18 then second statement (which is after the : symbol) will be printed.