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 > Games and Graphics Code Examples

A Simple 2D-Drawing Program





C Language Coding Compare Two Strings - C program to compare two strings using loop 'Character by Character'. Comparing 2 strings Lexicographically without using string library functions. 'Input two strings' from user. Store

C Programming Code Use Goto Statement - The goto statement is rarely used because it makes program confusing, less readable and complex. Also, when this is used, the control of the program won't be easy to trace, hence

Use Infinite While Loops in C++ Language - This Loop would never end as 'decrementing' the value of i which is 1 so the condition i<=6 would never return false. A "While Loop" that never stops is said to be "Infinite While Loop",

C Codes Pointer to Pointer Double Pointer - In C, A "Pointer" holds the Address of another variable of same type. When a Pointer Holds the address of another pointer then such type of pointer is known as "pointer-to-pointer" or

Code Put Even and Odd elements of array - C program to input elements in an array and put all even and odd elements in 2 separate array. Separate even and odd elements of a given array in 2 separate array containing...

Creating a Function Checks Prime Number - Function returns true if the number passed to the function is a 'prime number', returns false if the number passed is not a 'prime number'. The appropriate message is printed from the

C Number of Days in a Month Switch Case - Find number of Days in a Month using switch case - best approach. Lets Observe the above program carefully for a moment. In the above program we are performing same action on...

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...