📚 Question Bank Q71 — Programming and Data Structure
Tags
Programming and Data Structure
Q71. Marks: +2.0 UGC NET Paper 2: Computer Sc 23rd August 2024 Shift 1

#include < stdio. h >

void main()

{

int arr[] = {1, 2, 3, 4, 5};

int *p = arr;

printf("%d", *p++);

printf("%d", *(p + 1));

}

Find the output of the above code?

1.1, 2
2.1, 3 ✓ Correct
3.2, 3
4.1, 4
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question