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 program to find second largest number in an array

C Code Reverse the Stack using Recursion - C program code, 'using recursion', reverses a Stack content. Stack here is represented use a linked list. A Linked List is an ordered set of "Data Elements", each containing a link to its

Multiply Two Matrix by Multi Dimensional - In this program, "enter the size "of 2 matrix at first. To multiply two matrices, the number of columns of first matrix should be equal to the "number of rows" to second matrix. C++ Code

Diameter Circumference & Area of Circle - C program code input radius of a circle from user and find diameter, circumference and area of the circle. How to calculate diameter, circumference and area of a circle whose...

Program Code find First Digit of a number - Finding the first digit of any number is little expensive than last digit. To find first digit of a number we divide the given number by 10 until number is greater than 10. At the end...

Function Call by Reference Swap numbers - Here we are swapping the numbers using call by reference. As you can see the values of the variables have been changed after calling the swapnum() function because swap happened

Convert the Content of File to UpperCase - If the status returned is 0 then the coversion of file content was completed successfully. If the status returnes is -1 then the conversion of file content was not done. Convert the file

Program to check Palindrome string using - A 'Palindrome' is a special string which reads same from backward or forward such as eye, mom, madam, dad, bob, teet. We traverse a string character by character 'both direction'

C Program Code to Print Diamond Pattern - Take the number of rows as input and store in the variable number. Firstly decrement the variable number by 1 and assign this value to the variable count. Use this variable count as