-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpp.json
28 lines (27 loc) · 826 Bytes
/
cpp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[{
"topic": "C-Plus-Plus",
"subtopic": "Class and Objects",
"type": "MCQ",
"question": "How do you call a function getRollNo from object S1 of class Student?",
"options": ["S1.getRollNo()", "S1::getRollNo()", "getRollNo()", "S1.function(getRollNo())"],
"answer": 0,
"difficulty": "Medium"
},
{
"topic": "C-Plus-Plus",
"subtopic": "Basics",
"type": "MCQ",
"question": "Which of the following is the scope resolution operator?",
"options": ["::", "~", "*", "."],
"answer": 0,
"difficulty": "Easy"
},
{
"topic": "C-Plus-Plus",
"subtopic": "Pointers",
"type": "MCQ",
"question": " Which of the following is illegal?",
"options": ["int *ip;", "string s, *sp = 0;", "int i; double* dp = &i;", "int *pi = 0;"],
"answer": 2,
"difficulty": "Easy"
}]