ru
Feedback

Не попадитесь на канал ботавода! Telemetrio находит и помечает такие каналы 👉 Хотите видеть метку — оформите подписку

Coding Quiz Zone

Coding Quiz Zone

Открыть в Telegram

✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!

Больше
1 546
Подписчики
+124 часа
-57 дней
-530 дней
Архив постов
9: What will be the result of the following code? #include int main() { int* p = nullptr; std::cout << *p; }
Anonymous voting

8: What is the output of this program? #include int main() { int x = 3; for (int i = 0; i < 3; i++) x += i; std::cout << x; }
Anonymous voting

7: What does the following code print? #include int main() { int a = 5; std::cout << ++a + a++; }
Anonymous voting

6: Which of the following statements is true about template functions in C++? #include template void foo(T t) { std::cout << t; } int main() { foo(5); foo("Hello"); }
Anonymous voting

5: What will the following code output? #include int main() { const int x = 10; int *p = (int *)&x; *p = 20; std::cout << x; }
Anonymous voting

4: What does the following code snippet do? #include int main() { int x = 10; int *p = &x; *p = 20; std::cout << x; }
Anonymous voting

3: What will the following code print? #include void func(int &x) { x++; } int main() { int a = 5; func(a); std::cout << a; }
Anonymous voting

2: What will happen if you attempt to delete a pointer to a base class object created as a derived class object. class Base { public: void show() {} }; class Derived : public Base {}; int main() { Base* b = new Derived(); delete b; }
Anonymous voting

1. #include class Base { public: virtual void show() { std::cout << "Base"; } }; class Derived : public Base { public: void show() override { std::cout << "Derived"; } }; int main() { Base* b = new Derived(); b->show(); delete b; }
Anonymous voting

Here, is a 10 most asked C++ quizzes, acknowledge your snippets

Hello, Dear Programmers! 😊 I hope this message finds you all in good spirits and great health. 🌟 I'm writing to inform you that for Today and Tomorrow, there will be no quizzes conducted in this group, so you can take a break and focus on other important tasks or activities. 🛌💻 Thank you for your attention! 🙏

10. What is the purpose of the this keyword in JavaScript?
Anonymous voting

What is the purpose of the this keyword in JavaScript?
Anonymous voting

9. What will be the output of the following code? const sym1 = Symbol('foo'); const sym2 = Symbol('foo'); console.log(sym1 === sym2);
Anonymous voting

8. What will be the output of the following code? const obj1 = { a: 1 }; const obj2 = { ...obj1, a: 2 }; console.log(obj2);
Anonymous voting

7. What will be the output of the following code? console.log(1); setTimeout(() => console.log(2), 0); console.log(3);
Anonymous voting

6. What will be the output of the following asynchronous function? async function example() {     return "Hello World"; } console.log(example());
Anonymous voting

7. What will be the output of the following asynchronous function? async function example() {     return "Hello World"; } console.log(example());
Anonymous voting

5. What will the following code output? console.log(5 + "5");
Anonymous voting

4. What will be the output of the following code? const arr = [1, 2, 3]; arr.push(arr); console.log(arr.length);
Anonymous voting