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

check whether a character is alphabet, digit or special character





Convert Octal Number Decimal Vice Versa - In the program, the octal number is stored in the variable octalNumber, passed to function octalToDecimal(). This function converts the octal number passed by user to its equivalent

C Program Code Finds Reverse of an Array - C program just print array in reversed order. It does not reverses the array. Here I am writing the first basic logic to reverse an array. It uses above approach to access array element in...

C Earth years to other Planets Conversions - Display conversions in C. Equivalent mercury years. Equivalent venus years. Equivalent mars years. Equivalent jupiter years. Saturn years. Uranus years, Neptune years, Pluto...

Program Implement Doubly Ended Queue - Inserting element into the "deque". Deleting element from the deque. "Insert" element in "doubly ended queue". Enter the value to be inserted. Element inserted into empty deque.

Find GCD of the Numbers Using Recursion - C Language program, use recursion, finds the GCD of the two numbers entered by the User. The user enters 2 numbers by using a space in between them or by pressing enter after each

C Convert UpperCase String to LowerCase - In C Language program code, user would be asked to enter a String (it can be in complete uppercase or partial uppercase) and then the program would convert it into a complete(all

C++ Codes Generate Armstrong Numbers - To generate 'Armstrong numbers' in C++, you have to ask to the user to enter the interval to print the Armstrong number between a given interval as shown here in the following codes.

Prime Numbers in a Range with Functions - Declare function to find all prime numbers in given range. First give a meaningful name to our function. Say printPrimes() function will print all prime numbers in a range. Declare...