Sunday 27 May 2012

Aptitude questions and answers in c

C
programming aptitude questions and answers




Aptitude
questions in interview




Total question: 32

Time: 60 minute

Total marks: 64



1. Find out the error if any, in the program.



#include

int main(){

    int i=1;

    switch(i){

         case 1: printf("\radioactive cats have 18 half-lives");

         break;

         case 1*2+4: printf("\bottle for rent -inquire within");

No comments:

Post a Comment