multiple choice questiom

multiple choice questiom

What is the output of the program given below ?

#include<stdio.h>_x000D_
int main()_x000D_
{_x000D_
    enum status { pass, fail, atkt};_x000D_
    enum status stud1, stud2, stud3;_x000D_
    stud1 = pass;_x000D_
    stud2 = atkt;_x000D_
    stud3 = fail;_x000D_
    printf("%d, %d, %dn", stud1, stud2, stud3);_x000D_
    return 0;_x000D_
}_x000D_
A. 0, 1, 2 B. 1, 2, 3
C. 0, 2, 1 D. 1, 3, 2

please give me final answer

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper