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 > Arrays and Matrices Code Examples

C Programming Code - Simple Two dimensional(2D) Array





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 Code Display Fibonacci Sequence - The Fibonacci Sequence is a series where the next term is the sum of pervious 2 terms. The first two terms of the Fibonacci sequence is 0 followed by 1. The sequence: 0, 1, 1, 2, 3, 5, 8,

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

Finding Last Occurrence of Word in String - Logic to Search 'Last Occurrence' of a word is almost similar to searching first occurrence of a word in string. Just with last occurrence of a word do not terminate loop if first occurrence

C program Swap Numbers in Cyclic Order - C code three variables entered by the user are stored in variables x, y and z respectively. Then, these variables are passed to function cyclicSwap(). Instead of passing the actual...

Program Code Convert Decimal to Binary - To convert the Decimal Number into Binary, Check First MSB bit of number, if it is 1 then display '1' otherwise display '0'. C Language program is just to know the size of integer...

C Program to Check Strings is Palindrome - Program example identify whether the string is palindrome or not using stack. Take a string as input. Store the string in the stack array. Check whether the string is palindrome or...

Sort N Numbers in Ascending Order using - C Program to sorts the numbers in ascending order using bubble sort. Bubble sort is simple "Sorting Algorithm" that works by repeatedly Stepping Through the List to be Sorted, then