Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Java
10.8K+ articles
Mathematical
7.8K+ articles
C++
4.3K+ articles
Competitive Programming
3.3K+ articles
C++ Programs
2.4K+ articles
Algorithms
2.0K+ articles
C Language
1.8K+ articles
Programming Language
/
C++
/
C++ Quiz
C++ Quiz
42 posts
Recent Articles
Popular Articles
Count of square free divisors of a given number
Last Updated: 23 April 2021
Given an integer N, the task is to count the number of square-free divisors of the given number.A number is said to be square-free, if no prime factor divides it more than...
read more
Interview Experiences
Mathematical
Technical Scripter
Competitive Programming
C Language
C++
C++ Quiz
DSA
prime-factor
number-theory
divisors
factor
Experiences
Test Case Generation | Set 6 (Random Unweighted Binary Tree)
Last Updated: 17 April 2023
Generating Random Unweighted Binary Tree:Since this is a tree, the test data generation plan is such that no cycle gets formed.The number of edges is one less than the num...
read more
Tree
Queue
Algorithms
Randomized
C++
C++ Quiz
DSA
Binary Tree
BFS
cpp-queue
cpp-map
cpp-random
Reversed Range-based for loop in C++ with Examples
Last Updated: 08 July 2020
Range-based for loops is an upgraded version of for loops. It is quite similar to for loops which is use in Python. Range-based for loop in C++ is added since C++ 11.We ca...
read more
Algorithms
Analysis of Algorithms
Searching
Advanced Data Structure
Competitive Programming
C++ Programs
C++
C++ Quiz
DSA
loop
Header Guard in C++
Last Updated: 02 November 2020
Header Guards in C++ are conditional compilation directives that help to avoid errors that arise when the same function or variable is defined more than once by the mistak...
read more
C++ Programs
Programming Language
C++
C++ Quiz
CPP-Basics
cpp-macros
How to access private/protected method outside a class in C++
Last Updated: 05 August 2021
Prerequisites: Access Modifiers in C++, Runtime PolymorphismPrivate: The class members declared as private can be accessed only by the functions inside the class. They are...
read more
C/C++ Puzzles
C++ Programs
C++
C++ Quiz
access modifiers
C++-Class and Object
Examples of Big-O analysis
Last Updated: 02 November 2023
Prerequisite: Analysis of Algorithms | Big-O analysisIn the previous article, the analysis of the algorithm using Big O asymptotic notation is discussed. In this article, ...
read more
C/C++ Puzzles
Analysis of Algorithms
C++ Programs
Articles
Placements
CS – Placements
C++
C++ Quiz
DSA
time complexity
Analysis of Algorithms
Algorithms-Analysis of Algorithms (Recurrences)
Difference between int (*p)[3] and int* p[3]?
Last Updated: 24 November 2020
Pointers store the address of variables or a memory location. Pointers are a symbolic representation of addresses. They enable programs to simulate call-by-reference as we...
read more
C++ Programs
Difference Between
C++
C++ Quiz
C-Pointers
Pointers
Difference between int* p() and int (*p)()?
Last Updated: 11 December 2020
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, a pointer must be decla...
read more
C/C++ Puzzles
Algorithms
C Language
C++
C Quiz
C++ Quiz
DSA
C Basics
cpp-pointer
Pointers
C++-new and delete
Convert a Binary String to another by flipping prefixes minimum number of times
Last Updated: 17 January 2022
Given two binary strings A and B of length N, the task is to convert the string A to B by repeatedly flipping a prefix of A, i.e. reverse the order of occurrence of bits i...
read more
Strings
C/C++ Puzzles
Pattern Searching
Technical Scripter
Competitive Programming
Internship
Data Structures
GeeksQuiz
Java Programs
C++
Puzzles
Quizzes
DSA Quiz
C++ Quiz
Technical Scripter 2020
DSA
binary-string
Experiences
Exit a loop in C++
Last Updated: 20 January 2021
Exit a Loop in C++: If the condition of an iteration statement (for, while, or do-while statement) is omitted, that loop will not terminate unless the user explicitly exit...
read more
C++ Programs
C++
C++ Quiz
loop
Loops & Control Structure
Generate Quadratic Equation having given sum and product of roots
Last Updated: 04 May 2021
Given two integers S and M, the task is to find the coefficients of the quadratic equation such that the sum and the product of the roots are S and M respectively.Examples...
read more
Greedy
Mathematical
C++ Quiz
DSA
Algebra
Generation Google Scholarship (APAC) Online Challenge Experience
Last Updated: 26 April 2021
I had applied for an APAC scholarship in March 2021 through their Google Career Page and I got a mail that there will be an Online Challenge from 9th April to 10th April. ...
read more
Interview Experiences
Articles
Aptitude
Computer Science Quizzes
DSA Quiz
C Quiz
C++ Quiz
Google
Experiences
How to find Size of std::forward_list in C++ STL
Last Updated: 08 October 2021
Forward list in standard template library of C++. It comes under #includeforward_list header file. It is implemented as a singly linked list. It was introduced in C++ 11 f...
read more
C++ Programs
C++
C++ Quiz
STL
CPP-forward-list
Accolite Digital interview Experience | On-Campus
Last Updated: 06 September 2021
Round 1: Aptitude RoundThe process started with the aptitude test in which basic C++ code snippets were given and few questions were from oops and DBMS concepts too.Round ...
read more
Interview Experiences
Dynamic Programming
Greedy
Geometric
Competitive Programming
Experienced
TechTips
Recursion
Placements
C++
Quizzes
C++ Quiz
Software Engineering
DSA
Accolite
On-Campus
Marketing
Experiences
C ++
Last Updated: 08 July 2024
Quizzes on C++ LanguageConstructors(17)References(6)Class and Object(6)Misc C++(7)Destructors(5)Operator Overloading(10)this pointer(5)Function Overloading and Default Arg...
read more
C++ Quiz
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !