Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C Programming Code Examples

C > Strings Code Examples

Write a C program to concatenate two strings in single string.

C Decimal to Binary, Octal HEX Converting - C programming converting example. Decimal number to Binary number, Octal number and HEX number converter. Enter any number to be converted. The Number has to be in the...

C Program to Display Factors of a Number - This C Program takes a Positive Integer from the user & displays all the positive factors of that number. The for loop is iterated until j<= Number is False. In each iteration, number is

C++ Code Add Two Matrix with 2D Arrays - 2 const variables row & col are used to define size. If we do not make both const then error found because without "const reserve word" they are behaving as variable. Before placing

Input Password & Validation of Username - Code accept character without echo (without displaying on Screen) getch will accept character and store it in "ch". ASCII value of "Enter Key" is 13. Stop accepting password

Find Frequency of Each Character in String - C Program code to 'Count Frequency' of each character in a string Using Loop. There are so many algorithms to Count Frequency of each character. Here I'm explaining the easiest one

Perform to a 2D FFT Inplace a Complex 2D - A fast Fourier transform (FFT) is an algorithm to computing the discrete 'Fourier transform' and its inverse. Fourier analysis converts time (or space) to frequency and vice versa; an FFT

Printing 100 Ramanujan Numbers 2 Ways - C++ Sample code Print first 100 "Ramanujan Numbers" by TWO WAYS 1st way is printing ramunajan numbers from RN taking RN from 0 to INFINITY & print first 100 numbers. 2nd

Aho-Corasick Algorithm String Matchings - "Aho-Corasick" string matching algorithm is a 'searching algorithm', it is a kind of dictionary matching Algorithm that locates elements of a finite set of strings (the "Dictionary") within