# Ankita Agarwal

## Conditional Statements in C

Conditional Statements in C programming are used to make decisions based on the conditions. These conditions are specified by a set of conditional statements having… Read More »Conditional Statements in C

## Strings in C

In C programming, Strings are defined as an array of characters or a sequence of characters terminated with a null character ‘\0‘.  When the compiler… Read More »Strings in C

## Loops in C

You may encounter situations, when a block of code needs to be executed several number of times. In general, statements are executed sequentially: The first… Read More »Loops in C

## Number Systems – Binary, Hex, Decimal

The number systems give us different ways to represent numbers. It defines a set of values to represent a quantity. The systems that are interesting… Read More »Number Systems – Binary, Hex, Decimal

## Practice programs for C language

Questionnaire for C programming  Programs based on If-Else C program to find the greatest number among three numbers. C program to find out whether a… Read More »Practice programs for C language

## C programs on Pointers

Practice programs on Pointers 1. Program in C to demonstrate how to handle the pointers in the program: #include <stdio.h> int main() { int* ab;… Read More »C programs on Pointers

## C programs on Structures

Practice programs on Structures 1. Program to Store Information of a Student Using Structure: #include <stdio.h> struct student { char name[50]; int roll; float marks;… Read More »C programs on Structures

## C programs on Loops

Practice programs on Loops 1. C program to print all natural numbers from 1 to n using while loop: #include <stdio.h> int main() { int… Read More »C programs on Loops

## 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

## C programs on Arrays

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