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

C Program to Swap two numbers using XOR Operator

Returns a String representation of Integer - Converting an integer to a string with a fixed width. If the width is too small, the minimum width is assumed. Generate digit characters in reverse order. Shift the string to the right

C Program Code Concatenates two Strings - You can 'concatenate two strings' easily using standard library function strcat() but, in this C program 'concatenates two strings' manually without using 'strcat()' function. Calculate the

How to Call a Function in C Programming? - Call a function in C Language. A function is a block of statements that performs a specific task. Suppose you are building an application in C Language and in one of your c code, you

C Programming Add digits of the number - In "for loop" condition is first tested and then body is executed. Carefully look at semicolon at the end of 'for loop', which tells us two things for loop is bodyless. Only condition...

C++ Check Whether an Input Binary Tree - This is a C++ Program to check whether tree is Subtree of another tree. Given two binary trees, check if the first tree is subtree of the second one. A subtree of a tree T is a tree S

C Find the Areas of Different Geometrical - C Program code finds the Areas of different Geometrical Figures. The program is menu driven program. This has 4 options that can be choosen by the user. Area of Circle, Area

The C++ Brick Game Arcanoid with Mouse - Initialize the graphics mode and. Displays the last screen of bricks. Changes the text style & report any error if encounter. Print "Welcome screen of bricks game". Instruction messages

C Programs Calculates Standard Deviation - C Language calculateSD() function calculates the Standard Deviation. The array containing 10 elements is passed to the function and this function calculates the Standard Deviation &