Sunday 27 May 2012

Objective questions of c





Objective type questions on c with answers for interview 

C
programming language objective questions and answers



(1)

#define max value 10

int main(){

    int a=60;

    if(a/max value==6)

         printf("equal");

    else

         printf("not equal");

return 0;

}



What will be output if you compile and execute the above code?

(a)equal

(b)not equal

(c)Run time error

(d)

No comments:

Post a Comment