Friday 11 September 2009

C placement paper



C new placement papers questions and answers. It is model or sample test questions and answers in c programming language





(1) What will be output of the following program ?


void main()

{ int i;

clrscr();

printf("india"-'A'+'B');



getch();

}


(2)What will be output of the following program ?


void main()

void main()

{ int i;

clrscr();

printf(5+"Raja hindustani");



getch();

}

No comments:

Post a Comment