What is the output of code corresponding to the following program segment if Age=18?if(age>=18) printf(“You are eligible to vote.”);else vote = age-18; printf(“You can vote in %d years”, vote)()
单选题
What is the output of code corresponding to the following program segment if Age=18?if(age>=18) printf(“You are eligible to vote.”);else vote = age-18; printf(“You can vote in %d years”, vote)()
A. You are eligible to vote
B. You can vote in 18 years
C. You can eligible to vote.Your can vote in 0 years