C Programming Code Examples
C > Beginners Lab Assignments Code Examples
Program to calculate frequency of vowels in a string
Program to Displays Armstrong Numbers -
This program asks user to enter 'two integers' and displays all Armstrong numbers between the "given interval". If you don't know how to check whether a number is 'Armstrong' or not
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.
C++ Program Coding Multiply 2 Numbers -
In this c++ program, user enter two numbers ('floating point numbers'). Then, the product of those two numbers is 'stored' in a variable and displayed on the screen. The 2 numbers
C++ Program Implement Stack by Linked -
C++ program, "using iteration", implements the list of elements removed from the stack in last in first out mode using a linked list. A linked list is an ordered set of data elements,
Calculate Sum Calculate Average of Array -
C Program calculates the sum & average of an array. It declares an array and then add the array elements and finds the average of the array. Find the sum of negative numbers and
Find Whether a given year is Leap Year or -
Takes a year as input and finds whether a year is leap year or not. Take a year as input. Check whether a given year is divisible by 400. Check whether a given year is divisible
Display all the Nodes in a Linked list using -
C program display all the nodes in a linked list 'using recursion'. This program uses recursive function and displays a 'Linked List'. A Linked List is an ordered set of 'data elements', each
C++ Language Hello World Program Code -
Simple C++ program to display "Hello, World" on the screen. Since, it's a simple program, it is often used to illustrate the syntax of a c++ programming language. Every C++ program