1201
GB
What is the output: int x=5; cout<<(x*x+x+1)%7;
IN
आउटपुट क्या है: int x=5; अदालत
A
3
3
B
31
31
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
31%7=3. Output: 3.
व्याख्या (हिन्दी)
31%7=3. आउटपुट: 3.