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 > Bitwise Operators Code Examples

Count the Number of Bits needed to be Flipped to Integer X to Generate Integer Y





Switch Case Statements Break Statement - Lets see a sample without break statement, then we will discuss switch case with break 'Switch Case' statement is mostly used with 'break statement' even though the break is

UnOrdered Permutation Algorithm in C++ - It initializes the value current level, permutes the remaining values to the 'higher levels'. As the Assigning Action of the values reaches to the "Highest Level", it prints the permutation

C Coding to Perform Matrix Multiplication - C program, using recursion, performs Matrix multiplication of two matrices and displays the result. Use 2D array to represent a matrix and resulting matrix is stored in a different...

Program Convert Lowercase to Uppercase - To convert the uppercase string to lowercase string in 'C++', ask to enter a string, now start converting Lowercase to Uppercase by using ASCII values. To convert Lowercase String to

C++ Program Codes Swaps Two Numbers - The first program uses temporary variable to swap numbers, whereas the second program doesn't use temporary variables. To perform 'swapping' in above example, three variables

We shall Determine & Print if the value is - This Code is very simple and a good example of using conditional statement (if-else) in an iteration (i.e. for loop). We shall initiate a for loop having some finite iterations and check

How to pass an entire array to a function - Pointer var1 is pointing to the first element of the array and the var2 is the size of the array. In the loop we are incrementing pointer so that it points to the next element of the array

C Language Code find First and Last Digit - C Language program code to find first & last digit. Input a number from user & store it in some variable say num. Find last digit using modulo division by 10 lastDigit = num % 10.