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 > Beginners Lab Assignments Code Examples

multiple if statements in C programming language

The C++ language Check Leap Year or Not - To check whether the input year is a leap year or not a "leap year" in C++ Programming, you have to enter the year and start checking for the leap year. To check that the year is a leap

C Program Finds Perimeter of a Rectangle - C input length and width of a rectangle and calculate perimeter of the rectangle. How to find perimeter of a rectangle in C language. Input length and width of the rectangle using

C++ Code Sample Preprocessor Directives - There are different "Preprocessor Directives" that perform different tasks. Lets categorize preprocessor directives. Inclusion directives: "#include": specifies the files to be included,

Generate Random Partition out of a Given - Program 'takes the input' of a set of integers or characters. It firstly generates the random partition of the "Length of the Set". Starting from the beginning, it 'prints the number' of

C++ Language Print Strings on the Screen - Enter a string and receive the string using the function 'gets()'. C++ program ask to the user to "enter a string" like your first name, then it will display your first name after "Hello", print

C Language Code Convert Binary to Octal - Program takes a binary number as input and converts to octal. Take a binary number as input. Divide the binary number into groups of 3 bits. For each group of 3 bits, multiply...

C Trim Trailing White Spaces from Strings - C Program code remove 'trailing white space' characters is 'lot more easier' and faster than removing leading white space characters. As in this case we need not to perform any 'char'

C Display Fibonacci Series Using Recursion - Program code display 'Fibonacci series' using recursion. Using "fibonacci_series()" that calls itself recursively, in order to display series for the entered number of terms. Program enter