📚 Question Bank Q36 — Programming and Data Structure
Tags
Programming and Data Structure
Q36. Marks: +2.0 UGC NET Paper 2: Computer Sc 6th Jan 2025 Shift 1

Consider the following statements

int x = 10, y = 15;

x = ((x = y) ? (y + x) : (y - x));

What will be the value of x after executing these statements?

1.5
2.25
3.15
4.30 ✓ Correct
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question