Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
160 Days of DSA (Win T-Shirt!)
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
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++
4k+ articles
C++ Programs
2.5k+ articles
Misc
2.1k+ articles
C Language
1.8k+ articles
CPP Examples
700+ articles
substring
340+ articles
CPP-Library
240+ articles
cpp-array
160+ articles
cpp-string
140+ articles
CPP Array and String
8 posts
Popular Articles
Recent Articles
How to Find the Length of a Substring in a char Array?
Last Updated: 01 March 2024
In C++, a substring is a string inside another string that is the contiguous part of the string. In this article, we will learn how to find
...read more
cpp-array
C++
CPP Array and String
C++ Programs
Picked
substring
CPP Examples
How to Sort an Array of Strings Using Pointers in C++?
Last Updated: 01 February 2024
In C++, sorting an array of strings using pointers is quite different from normal sorting because here the manipulation of pointers is done
...read more
cpp-string
cpp-array
C++
CPP Array and String
C++ Programs
Picked
CPP Examples
How to Resize an Array of Strings in C++?
Last Updated: 01 February 2024
In C++, the array of strings is useful for storing many strings in the same container. Sometimes, we need to change the size of this array.
...read more
cpp-string
cpp-array
C++
CPP Array and String
C++ Programs
Picked
CPP Examples
Similar Topics
DSA
22.3k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
Misc
2.1k+ articles
C Language
1.8k+ articles
CPP Examples
700+ articles
substring
340+ articles
CPP-Library
240+ articles
cpp-array
160+ articles
cpp-string
140+ articles
Difference Between Array of Characters and std::string in C++
Last Updated: 01 February 2024
In C++, we have character array and std::string class both of which are used to store the sequence of characters. The character arrays are a
...read more
cpp-string
cpp-array
C++
CPP Array and String
C++ Programs
Picked
CPP Examples
Find the longest Substring of a given String S
Last Updated: 10 February 2023
Given a string S of length, N. Find the maximum length of any substring of S such that, the bitwise OR of all the characters of the substrin
...read more
Strings
CPP Array and String
DSA
Longest Palindromic Substring using Palindromic Tree | Set 3
Last Updated: 28 November 2023
Given a string, find the longest substring which is a palindrome. For example, if the given string is “forgeeksskeegfor”, the output sho
...read more
Arrays
Misc
Trees
Searching
palindrome
Computer Subject
Arrays
CPP Array and String
DSA
Array Type Manipulation in C++
Last Updated: 28 May 2017
This article demonstrates some of the inbuilt functions that can be used to query and manipulate array types, even a multidimensional array.
...read more
CPP-Library
cpp-array
C Language
C++
CPP Array and String
Array of Strings in C++
Last Updated: 26 February 2025
In C++, a string is sequence of characters that is used to store textual information. Internally, it is implemented as a dynamic array of ch
...read more
cpp-string
cpp-array
cpp-vector
C++
CPP Array and String
1
1
1
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 !