Thursday 10 September 2009

best questions of c with answer

(q) What will be output of the following program?void  main(){enum data1{a,c,e}p;enum data2{b,d,f}q;p=q;clrscr();printf("%i",p);getch();}Output: 0Standard predefined stream question in c programming language.(q) What will be output of the following program?#includevoid  main(){clrscr();fputs("ERROR page",stderr);getch(); }Output: ERROR PAGEExplanation:It will display the output of

No comments:

Post a Comment