1. >GATE CS
  2. >Programming and Data Structure
Found 2  QuestionsSET DEFAULT
Selected Filters
    GATE CS Programming and Data Structure Circular Linked List
Exams
Years
Subjects
Topics

List of top Programming and Data Structure Questions on Circular Linked List asked in GATE CS

Consider the following C function definition. \begin{verbatim} int fX(char *a){ char *b = a; while(*b) b++; return b - a; } \end{verbatim} Which of the following statements is/are TRUE?
  • GATE CS - 2024
  • GATE CS
  • Programming and Data Structure
  • Circular Linked List
Consider the following C program. Assume parameters to a function are evaluated from right to left.} \begin{verbatim} #include stdio.h int g(int p) { printf("%d", p); return p; } int h(int q) { printf("%d", q); return q; } void f(int x, int y) { g(x); h(y); } int main() { f(g(10), h(20)); } \end{verbatim} Which one of the following options is the CORRECT output of the above C program?
  • GATE CS - 2024
  • GATE CS
  • Programming and Data Structure
  • Circular Linked List