C Programming Code Examples
C > Strings Code Examples
program to replace first occurrence of a character in a string
Printf Funtion Display Message by Format -
Hexadecimal, character, scientific notation (lowercase e), scientific notation (uppercase e), string of characters, unsigned decimal integers. decimal floating point, displays a
Simple Class Declaration in C++ language -
C++ language allows us to separate program-specific datatypes through the use of classes. "C++ Classes" define types of data structures and the functions that operate on those data
Sum of each Row and Columns of a matrix -
C program to read elements in a matrix and find the sum of elements of each row and columns of matrix. C program to calculate sum of rows and columns of matrix. Input...
Equilateral Triangle Printing In C Program -
C language program code print to Equilateral Triangle. Triangle with all Sides Equal is called Equilateral Triangle. We shall now see how to print stars *, in Equilateral Triangle shape and
C Reverse an Array without using another -
C reverse array without using another array relies on the above logic. What we need to do is maintain two array indexes. arrIndex that moves from size - 1 to 0. revIndex that moves
Returns Nonzero if ch is White-Space Char -
C program Returns nonzero if ch is a white-space character, including space, horizontal tab, vertical tab, formfeed, carriage return, or newline character; otherwise zero is return.
C Programming Codes Creating a PHP File -
Please enter the name of the file you wish to create. in the format myfile.php. Now enter a name for the counter file. Please enter the starting count. Create counterfile with the...
C Code Counts Number of Words in String -
C program to 'count total number' of words in a string using Loop. To count total number of 'Words in a String' we just need to count total number of white spaces. Includes single blank