Prep Right
Part-I MCQs Computer Science 2025Questions of this paperAll Computer Science MCQsStart a mock
Question 1 of 20Score 0/0
2025Checked against official paperSuggested — not official

What is the output of the following code? int main(){ int a = 40; int* ptr = &a; int& ref = *ptr; ref = 60; cout << a; }

Keys: 1–4 or A–D · Enter for next

Progress is saved on this device. No account needed.