1
GB
What is the output: int x=10; int *p=&x; *p=20; cout<
IN
आउटपुट क्या है: int x=10; int *p=&x; *पी=20; अदालत
A
10
10
B
20
20
C
Undefined
अपरिभाषित
D
Compile error
संकलन त्रुटि
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
*p dereferences pointer to x; *p=20 sets x=20.
व्याख्या (हिन्दी)
*p सूचक को x से संदर्भित करता है; *p=20 सेट x=20.