GATEverse
← GATE CSE 2003

Q90

MCQ2 marks, −0.5

Consider the function ff defined below. struct item { int data; struct item * next; }; int f(struct item *p) { return ((p == NULL) || (p->next == NULL)|| ((p->data <= p ->next -> data) && f(p->next))); } For a given linked list pp, the function ff returns 11 if and only if

Sign in to save attempts.

Loading…