Skip to content
Courses
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
All Courses
Tutorials
Python
Python Tutorial
Python Programs
Python Quiz
Python Projects
Python Interview Questions
Python Data Structures
Java
Java Tutorial
Java Collections
Java 8 Tutorial
Java Programs
Java Quiz
Java Projects
Java Interview Questions
Advanced Java
Programming Languages
JavaScript
C++
R Tutorial
SQL
PHP
C#
C
Scala
Perl
Go Language
Kotlin
Interview Corner
System Design Tutorial
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps and Linux
DevOps Tutorial
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux Tutorial
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
DSA
DSA Tutorial
Practice
Practice Coding Problems
Problem of the Day
GfG SDE Sheet
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
Top Interview Questions
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django Tutorial
Flask Tutorial
Postman
Github
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
Learn Complete Web Development
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
C++
4.1k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
CPP-Functions
600+ articles
C-Library
120+ articles
cpp-containers-library
92 articles
cpp-math
50 articles
CPP-complex
15 articles
CPP-Library
240+ posts
Popular Articles
Recent Articles
Vector erase() in C++ STL
Last Updated: 16 January 2025
In C++, vector erase() is a built-in function used to remove one or more elements from a vector present at a specific position or within a s
...read more
STL
CPP-Library
CPP-Functions
cpp-vector
cpp-advanced
C++
snprintf() in C
Last Updated: 07 March 2025
In C, snprintf() function is a standard library function that is used to print the specified string till a specified length in the specifie
...read more
CPP-Library
C Language
C++
C-Library
Vector push_back() in C++ STL
Last Updated: 27 December 2024
In C++, the vector push_back() is a built-in method used to add a new element at the end of the vector. It automatically resizes the vector
...read more
STL
CPP-Library
CPP-Functions
cpp-vector
C++
Similar Topics
DSA
22.3k+ articles
C++
4.1k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
CPP-Functions
600+ articles
C-Library
120+ articles
cpp-containers-library
92+ articles
cpp-math
50+ articles
CPP-complex
15+ articles
Substring in C++
Last Updated: 11 January 2025
The substring function is used for handling string operations like strcat(), append(), etc. It generates a new string with its value initial
...read more
CPP-Library
cpp-string
C Language
C++
C-String
C-Library
Memset in C++
Last Updated: 11 January 2025
Memset() is a C++ function that copies a single character for a specified number of times to the given bytes of memory. It is useful for fil
...read more
CPP-Library
CPP-Functions
C++
cpp-strings-library
cpp-memory-management
rand() and srand() in C++
Last Updated: 11 January 2025
The std::rand() in C++ is a built-in function that is used to generate a series of random numbers. It will generate random numbers in the r
...read more
STL
CPP-Library
C++
cpp-random
strtok() and strtok_r() functions in C with examples
Last Updated: 07 June 2023
C provides two functions strtok() and strtok_r() for splitting a string by some delimiter. Splitting a string is a very common task. For exa
...read more
Technical Scripter
CPP-Library
cpp-string
C++
<bits/stdc++.h> in C++
Last Updated: 11 January 2025
It is basically a header file that includes every standard library. In programming contests, using this file is a good idea, when you want t
...read more
CPP-Library
C Language
C++
Iterators in C++ STL
Last Updated: 24 October 2024
Aniterator in C++is a pointer-like object that points to an element of the STL container. They are generally used to loop through the conten
...read more
STL
CPP-Library
C++
cpp-iterator
Converting Number to String in C++
Last Updated: 11 January 2025
In C++, converting integers to strings or converting numbers to strings or vice-versa is actually a big paradigm shift in itself. In general
...read more
CPP-Library
cpp-string
C Language
C++
cpp-stringstream
Sort Vector of Pairs in Ascending Order in C++
Last Updated: 17 December 2024
Sorting a vector of pairs in ascending order means arranging the elements in such a way that first pair is lesser than second pair, second p
...read more
Sorting
STL
CPP-Library
cpp-vector
C Language
C++
C++ Programs
DSA
CPP Examples
Convert String to int in C++
Last Updated: 11 October 2024
Converting a string to int is one of the most frequently encountered tasks in C++. As both string and int are not in the same object hierarc
...read more
CPP-Library
cpp-string
C++
cpp-stringstream
sort() in C++ STL
Last Updated: 10 January 2025
In C++, sort() is a built-in function used to sort the given range in desired order. It provides a simple and efficient way to sort the data
...read more
STL
CPP-Library
C Language
C++
cpp-algorithm-library
Unordered Map in C++ STL
Last Updated: 03 March 2025
In C++, unordered_map is an unordered associative container that stores data in the form of unique key-value pairs. But unlike map, unordere
...read more
STL
CPP-Library
C++
cpp-containers-library
cpp-unordered_map
cpp-unordered_map-functions
How to split a string in C/C++, Python and Java?
Last Updated: 11 January 2025
Splitting a string by some delimiter is a very common task. For example, we have a comma-separated list of items from a file and we want ind
...read more
Strings
Java
Python
CPP-Library
cpp-string
C Language
C++
Java-String-Programs
DSA
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
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 !