C Programming Code Examples
C > Strings Code Examples
replace all occurrences of a character in a string
Decimal equivalent of input Hexadecimal -
Program to display the decimal equivalent of an input hexadecimal number (Hexadecimal to Decimal). How many digits in input? Digits of your i/p no. must not exceed entered limit
Folder Protection Software in C Language -
This software can convert your File/Folder to Control Panel and can Restore again. Path of the file. This software is not responsible for any loss in data. New name of your folder/file
Find the Odd Element given an Array with -
Will hold XOR of two odd occurring elements. Xor will basically be xor of two odd occurring elements. Get one set rightmost bit in the xor2. Now divide elements in two sets. XOR
C++ Code Finds Greatest Common Divisor -
This means a 'greatest number' which divides both numbers. Example: Two numbers are 18 and 24. Numbers which Divides both are 1, 2, 3 and 6 in which greatest number is 6. So 6 is
Program to Displays Armstrong Numbers -
This program asks user to enter 'two integers' and displays all Armstrong numbers between the "given interval". If you don't know how to check whether a number is 'Armstrong' or not
C program to Calculate (1*1)+(2*2)+(3*3) -
In The C, you can print any number series and I will show you how to 'print number series' in C Language with explanation. In case of print number series you need to focus on common
Program Sample Displays Prime Numbers -
If a number passed to checkPrimeNumber() is a Prime Number, this function returns true, if not the Function returns false. If enters larger number first, 'code' will not work as intended.
C Example Code Nested Printf Statements -
C Program code to demonstrate nested printf statements. String will be first printed while executing inner printf. Length of the string "abcdefghijklmnopqrstuvwxyz". So printf will