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

C Program to Find ASCII value of a Character

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

C Code Find area of an equilateral triangle - C program code input side of an equilateral triangle from user and find area of the given triangle. How to find area of an equilateral triangle in C. Area of an equilateral triangle

Accessing SQL Server from C++ Language - Forward declarations of the error handler and message handler. The Connection with "SQL" Server. Install user-supplied error functions & message-handling functions. Get DBProcess

C++ Program to Implement Insertion Sort - Insertion sort algorithm sort data by inserting them one by one into the List. This algorithm is based on sorting playing cards by picking & inserting them one by one. Here we take data

Use Infinite for Loop in C++ Programming - A Loop is said to be infinite when it executes repeatedly & 'never stops'. It usually happens by mistake. When you set the condition in for loop in such a way that it never return false, it

Program Code Copy String by While Loop - C program 'Copy one string to another' string using 'While loop'. Logic to copy one string to another string. Copy 'text1 to text2' character by character. Input a string from user, store it

C Program Check If a String is Palindrome - Check if string is a 'Palindrome' without using the "Built-In function". "Take a string" as input & store it in the array 'string[]'. Then store the same string into the another array 'reverse_s'

C++ Program to Implement Selection Sort - This C++ program sample sort the given data using Selection Sort. Selection sort algorithm sort data by comparing one element to every other element & decide its position. The time