C Program to print second largest element in array

C Program to print the second largest element in an array

C Program to print maximum and minimum element in array

C Program to print maximum and minimum element in an array

C Program to print sum of array elements

C Program to print the sum of array elements using loop and recursion.

C Program to read and print elements of array

C Program to read and print elements of an array using loops and recursion

C Program to count number of digits in a number

Write a C Program to count the number of digits in a number using a loop and without using a …

C Program to find sum of all odd numbers

Write a C Program to find the sum of all odd numbers from 1 to n using for loop and …

C Program to find sum of all even numbers

Write a C Program to find the sum of all even numbers from 1 to n using for loop and …

C Program to find sum of all natural numbers

Write a C Program to find the sum of all natural numbers from 1 to n using for loop and …

C Program to print all odd numbers

C Program to print all odd numbers using while loop or for loop with and without if statement. How to …

C program to print all even numbers

Write a C Program to print all even numbers using while loop or for loop with and without if statement …

C program to print alphabets from a to z

C program to print alphabets from a to z using while loop and for loop with char data type as …

C program to print all natural numbers in reverse

C program to print all natural numbers in reverse order using while loop and for loop. How to print natural …

C program to print all natural numbers from 1 to n

C program to print all natural numbers from 1 to n using while loop and for loop. How to print …

C Program to check if number is positive, negative or zero

Write a C Program to check if the number is positive, negative or zero using if-else statement. Check if the …

C Program to find maximum between three numbers

Write a C Program to find the maximum between three numbers using if-else conditional statement.

C Program to find maximum between two numbers

Write a C Program to find the maximum between two numbers using if-else conditional statement.

Height of a binary tree

Height of a tree is the total number of nodes on the path from the root node to the deepest …

Balanced brackets problem

Balanced brackets problem is one of the famous problems based on the stack and it has been asked in many …

Program to reverse a linked list

Given a linked list, write a program to reverse elements of a linked list. e.g.- for linked list 1 …

Program to find middle element of a Linked List

Given a linked list, write a program to find middle element of a linked list. e.g.- for linked list …