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


Page 1 Page 2



Check Vowel or Consonant use ASCII Code
English Alphabets a, e, i, o, u both Lowercase & Uppercase are known as vowels. Alphabets other than Vowels are known as Consonants. Step by step descriptive logic to check vowels

C Perform Matrix Multiplication Recursion
C program, 'using recursion', performs Matrix multiplication of 2 'matrices' and displays the result. We use 2 D array to represent a matrix & resulting matrix is stored in different matrix

C++ Find Chromatic Index of Cyclic Graph
Algorithm finds the "Chromatic Index" of the given cyclic graph. It takes the input of vertex pairs for the given number of edges. Assigns a 'color to edges' without assigning the same

C++ Shutdown & Restart Your Computer
C++ sample made for both i.e., to shutdown your computer or to 'restart your computer', first it will ask to the user want to shutdown computer or want to restart computer. Then

C programming Open and Copy Functions
Open a source file. If there is an error giving message: Cannot open source file. Open destination file. If there is error give message: Cannot open destination file. If file won't

C Program moves the file position pointer
Zero on success or nonzero on failure. Seek from start of file. Seek from current location, seek from end of file, find proper structure, read the data into memory in c programming

C++ Language Find Largest of 2 Numbers
To find the largest number of the 2 numbers in C++, enter 2 numbers and checking which one is larger to "Display the Largest" on the output screen as shown here in the program

Add 2 Distances System Using Structures
A "Structure Distance" containing two data members (inch and feet) is declared to store the distance in inch-feet system. Here, two structure variables d1 and d2 are created to