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 > If Else and Switch Case Code Examples

program to enter week number and print day of week





C Language Codes Find Length of a String - How to find 'Length of a string' without using in-built library function strlen() in C language. Effective way to find length of string without using strlen() function. In the C every string is

Any number of Digits Armstrong Sample - An "Armstrong Number" is a number that is the 'sum of its own digits' each raised to the power of the number of digits is equal to the number itself. Some Armstrong numbers is 0

C++ Programming Encrypt & Decrypt File - To encrypt & decrypt file content in C++, you have to enter the file name with extension to encrypt & decrypt the content present inside the file. Now open that file using the function

Computing The Volume of A Tetrahedron - Program to finds the volume of tetrahedron. Call the four vertices of the tetrahedron (a, b, c), (d, e, f), (g, h, i), and (p, q, r). Now create a 4-by-4 matrix in which the coordinate triples

C++ Codings Global Function Friend Class - Similar to friend class, this 'C++ Function' can access the private and protected members of another class. A 'Global Function' can also be 'declared as friend' as shown in the C++ Code

Daylight saving time indicator in C coding - C Program the tm structure contains the following members. Seconds, 0-60, minutes, 0-59, hours, 0-23, day of the month, 1-31, Jan, 0-11, years from 1900, days since Sunday...

Read and write Strings Printf() and Scanf() - Compare 2 strings, 'Concatenate Strings' and copy one string to another & perform various 'string manipulation operations'. We perform such operations using 'pre-defined' functions

Display decimal equivalent of input binary - C Programming language example to display decimal equivalent of a input binary number. What will be the length of input no.? Don't exceed input from your input limit or 5 digits