Problem Statement: Given a String, reverse the string and print it. Example 1: Input: str = “Takeuforward” Output: drawrofuekat Example
Continue readingCategory: C programs
While Loop in C
Loops help to execute the set of code blocks repeatedly many times till the condition is met. Let’s understand While
Continue readingLinked List in C : Implementation
What is Linked List? Linked List is a Linear Data Structure, Just Like the Array but in Array, Elements are stored
Continue readingSelection Sort in C
Problem Statement: Given an array of N integers, write a program to implement the Selection sorting algorithm. Examples: Example 1: Input: N
Continue readingInsertion Sort in C
Problem Statement: Given an array of N integers, write a program to implement the Insertion sorting algorithm. Examples: Example 1: Input: N
Continue readingBubble Sort in C
Problem Statement: Given an array of N integers, write a program to implement the Bubble Sorting algorithm. Examples: Example 1: Input: N
Continue readingReverse array in C
Problem Statement: Given an array, reverse the given array. Reverse array in C. Examples: Example 1: Input: arr[] = 1
Continue readingLength of String in C
Problem Statement: Given a String, Calculate the Length of String in C. Examples: Example 1: Input: str = “Computer” Output:
Continue readingBinary to Decimal in C
Problem Statement: Given a Binary Number convert it to its equivalent decimal number. Binary to Decimal in C. Examples: Example
Continue readingReverse a number in C
Reverse a number in C. Problem Statement: Given a number N reverse the number and print it. Examples: Example 1:
Continue reading