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 > Recursion Code Examples


Page 1 Page 2



Converts Octal Number to Binary Number
The octal number is converted to decimal at first. Then, the decimal number is converted to binary number. The octal number entered is passed to convertOctalToBinary() function.

C Convert Octal to Binary Number System
C program to input Octal number from user and convert to Binary number system. How to convert from Octal Number System to Binary number system in C. Octal number...

C++ Programs Use Above Below Primitive
Program to check whether two lines intersect to each other. The above-below primitive can be used to test whether a line intersects a line segment. It does iff one endpoint of segment

C Program Insertion Sort implementations
'Insertion Sort Algorithm' picks elements one by one & places it to the right position where it belongs in the "Sorted List of Elements". In C program we have "implemented the same"

C Programming Writing a Character to file
In C to write the file, we must open the file in a mode that supports writing. For example, if you open a file in "r" mode, you won't be able to write the file as "r" is read only mode that

C Code Print Fibonacci Series by Recursion
Program print 'Fibonacci Series' by recursion. "L. Fibonacci" discovered a simple numerical series called Fibonacci Series. Starting with 0 & 1, each new number in the series is simply...

Replace First Occurrence of a Character in
C Code replace first occurrence of a character with another in a string. Input the string from user, store it in some variable say 'str'. Input a character to replace, character new character

C Finds Cube of a Number using Function
C Program code input any number from user and find cube of the a number using function. Lets assign meaningful name to the function, say cube(). Function should accept a number