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 > Arrays and Matrices Code Examples

program to input and print elements in array





Convert Binary Number Octal Vice-Versa - You will learn to convert "binary number" to octal, and octal number to binary manually by creating a "user-defined" function. In this, first convert the binary number to "decimal".

C++ Programming Finds Length of Strings - To find the length of the string in 'C++', ask to enter the string and then Find the Length the that string using function "strlen()" of string.h library and display the length value of a string

Program to Demonstrate use of Interrupts - Interrupts are messages to the Pentium chip to halt it current activity, and perform our requested job. We can almost do anything using interrupts without using functions...

C++ Program to Find Factorial of Number - First think what is the factorial of a number? How 'mathematically' it can be calculated. If you got this info then it will be very easier to make a C++ code logic to find the "Factorial".

C++ Swap Two Numbers Using 3. Variable - Swap numbers means exchange the values of two variables with each other. Variable num1 contains 20 and num2 contains 40 after swap there values num1 contains 40 num2 contains

C++ Language Convert Binary to Decimal - Enter any number in binary to convert it into decimal, then display the equivalent decimal value on the output screen as shown here in the following program. In C++ program code

Implement Two Stacks using Single Array - C Programming code implements two Stacks using a Single Array & Check for Overflow & Underflow. A Stack is a linear data structure in which a data item is inserted and deleted...

Find Reverse of a Number using Recursion - Declare recursive function to find reverse of a number. Lets give a meaningful name to our function, say reverse(). C function computes reverse of number, hence it must accept an...