C programs on Switch-case
Practice programs on Switch case 1. C program to find all roots of a quadratic equation using switch case: #include <stdio.h> #include <math.h> /* Used… Read More »C programs on Switch-case
Practice programs on Switch case 1. C program to find all roots of a quadratic equation using switch case: #include <stdio.h> #include <math.h> /* Used… Read More »C programs on Switch-case
Practice Programs on Arrays 1. Merge two arrays of same size sorted in descending order: #include <stdio.h> void main() { int arr1[100], arr2[100], arr3[200]; int… Read More »C programs on Arrays
Programming Practices for If-Else 1. C program to find the greatest number among three numbers : *************************************************************** 2.C program to find out whether a given… Read More »C programs for If-Else
In the previous post we discussed about structures – What structures are and how they can be useful. We also discussed how to declare and… Read More »Memory Layout of a Structure
In this post we will have a look at Structures in C. We will first try to understand a problem statement and then see how… Read More »Structures in C
C is a high level language and it needs a compiler to convert it into an executable code so that the program can be run… Read More »Compilation process of C programs