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 > Functions Code Examples

find sum of even or odd number in given range using recursion





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

C++ Converting Centigrade to Fahrenheit - To "convert temperature" from centigrade to Fahrenheit in the C++, you have to ask to the user to enter the temperature in "centigrade" to convert it into Fahrenheit (using fah = (1.8

Program Code Calculates the Value of nCr - This C Program to Calculates the value of nCr. The algorithm used in this program is nCr = n! /((n-r)!r!) and We need to Find all the Possible combination of the value n&r. A combination

Pass Structure as an argument to Function - We have a function 'printStudentInfo()' which takes structure Student as an 'argument' and 'prints the details' of student using structure varaible. The important point to note here is

C++ Programming Bubble Sort Algorithm - The Bubble Sort is a simple sorting algorithm that 'repeatedly' steps through the List to be sorted, compares each pair of adjacent items and swaps them if they're in the wrong order.

Sort the Array Elements using Gnome Sort - This C Program sort the array elements using gnome sort. Gnome sort(stupid sort) is a sort algorithm which is similar to insertion sorting except that 'moving an element' to its proper

C Programming Code & Logical Operators - C an expression containing Logical Operator returns either 0 or 1 depending upon whether expression results true or false. C Program to demonstrate working of logical operators...

The C++ Language Returning a Reference - As a function can be created to return a value of a primitive type, a function can be defined to return a reference to primitive type. When 'declaring such a function', you must indicate