1.

What is the output of the program? void main() {  char ptr1[]="goat"; char ptr2[]="good"; clrscr(); if(strcmp(ptr1,ptr2)>0)printf("good job");elseprintf("nice job");}a) good job b) nice job c) error

Answer»

Correct option: b) nice job

Reason: unsolved



Discussion

No Comment Found

Related InterviewSolutions