Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.7K+ articles
C++
3.7K+ articles
C Language
1.3K+ articles
CPP-Functions
619+ articles
C Programs
441+ articles
cpp-string
157+ articles
C-Library
133+ articles
C-Functions
90+ articles
cpp-strings
59+ articles
C-String
58 posts
Recent Articles
Popular Articles
Pointer Arithmetic with Strings
Last Updated: 11 June 2025
Pointer Arithmetic is a technique in C that allows manipulation of memory addresses. We can also manipulate arrays using pointer arithmetic as the arrays are nothing but c...
read more
C Language
C-Pointers
C-String
C Program to Sort a String of Characters
Last Updated: 23 July 2025
Sorting a string of characters refers to the process of rearranging all the characters in the given order. In this article, we will learn how to sort a string of character...
read more
C Programs
C Language
C-String
C Searching Sorting
C-DSA
strncpy() Function in C
Last Updated: 05 August 2024
The strncpy() function in C is a predefined function in the string.h library used to copy a specified number of characters from one string to another. To use this function...
read more
C Programs
C Language
Picked
C-String
C-Functions
How to Split a String by Multiple Delimiters in C?
Last Updated: 23 July 2025
In C, strings are arrays of characters using string manipulation often requires splitting a string into substrings based on multiple delimiters. In this article, we will l...
read more
C Programs
C Language
Picked
C-String
C Examples
How to Split a String by a Delimiter in C?
Last Updated: 17 June 2024
Splitting a string by a delimiter is a common task in programming. In C, strings are arrays of characters, and there are several ways to split them based on a delimiter. I...
read more
C Programs
C Language
Picked
C-String
C Examples
How to Match a Pattern in a String in C?
Last Updated: 23 July 2025
Matching a pattern in a string involves searching for a specific sequence of characters within a larger string. In this article, we will learn different methods to efficie...
read more
C Programs
C Language
Picked
C-String
C Examples
How to Concatenate Multiple Strings in C?
Last Updated: 17 June 2024
In C, concatenating strings means joining two or more strings end-to-end to form a new string. In this article, we will learn how to concatenate multiple strings in C.Exam...
read more
C Language
Picked
C-String
C Examples
strchr in C
Last Updated: 23 July 2025
Thestrchr()function in C is a predefined function in thestring.hlibrary.It is used to find the first occurrence of a character in a string. It checks whether the given cha...
read more
C Language
Picked
C-String
C Library Functions
C Examples
How to Reverse a String in C?
Last Updated: 23 July 2025
In C, a string is a sequence of characters terminated by a null character (\0). Reversing a string means changing the order of the characters such that the characters at t...
read more
C Programs
C Language
Picked
C-String
C Strings Programs
C Basic Programs
Why is Conversion From String Constant to 'char*' Valid in C but Invalid in C++?
Last Updated: 23 July 2025
In both C and C++, strings are sequences of characters enclosed in double-quotes. In this article, we will learn why is the conversion from string constant to 'char*' vali...
read more
C++ Programs
C++
Picked
cpp-string
cpp-pointer
C-Pointers
C-String
CPP Examples
How to Convert a String to a Char Array in C?
Last Updated: 23 July 2025
In C, the only difference between the string and a character array is possibly the null character '\0' but strings can also be declared as character pointer in which case,...
read more
C Programs
C Language
Picked
c-array
C-String
C Examples
Array of Pointers to Strings in C
Last Updated: 28 July 2025
In C, arrays are data structures that store data in contiguous memory locations. Pointers are variables that store the address of data variables. We can use an array of po...
read more
C Programs
C Language
Picked
C-Pointers
C-Arrays
C-String
C Examples
C Program to Compare Two Strings Using Pointers
Last Updated: 28 November 2024
In C, two strings are generally compared character by character in lexicographical order (alphabetical order). In this article, we will learn how to compare two strings us...
read more
C Programs
C Language
Picked
C-Pointers
C-String
C Examples
C Program to Concatenate Two Strings Using a Pointer
Last Updated: 28 November 2024
Concatenating two strings means appending one string at the end of another string. While the standard library provides strcat() for concatenation, this article will demons...
read more
C Programs
C Language
Picked
C-Pointers
C-String
C Examples
Copy N Characters from One String to Another Without strncat()
Last Updated: 23 July 2025
In C, strings are the sequence of characters that are used to represent the textual data. Two strings can be easily concatenated or joined using the strncat() function of ...
read more
C Programs
C Language
Picked
C-String
C Examples
1
2
3
4