Category: C Programming

38 posts

How to Remove Duplicates From a Given String

  Duplicate characters within a string can clutter data and complicate processing. Whether you're a programmer, a data analyst, or just someone trying to clean up their text, knowing how to rem... Read Mores
Prathmesh Yelne

01-Apr-2024 15:19:18

104 Views C Programming, C++ Programming, Java, Python 8 months ago

C Program to Sum the Digits of Any Given Number

In the realm of programming, efficiency and accuracy are paramount. One fundamental task often encountered is summing the digits of a given number. This seemingly simple task can be approached in var... Read Mores
Prathmesh Yelne

28-Mar-2024 12:27:12

55 Views Article, C Programming 9 months ago
avatar
Google

September 11, 2020

2.2 K Views GCP Cloud Engineer 21 hours ago

How to Print List Items Containing All Characters of a Given Word

  In programming, there often arises the need to search through a list of items and find those that contain all the characters of a given word. This task can be efficiently accomplished using v... Read Mores

Count Number of Homogenous Substrings

  Introduction: Given a string s, the goal is to determine the number of homogenous substrings it contains. A string is considered homogenous if all its characters are the same. Substrings, on ... Read Mores
Prathmesh Yelne

09-Nov-2023 17:52:13

235 Views C Programming, Java, Placements Questions one year ago
avatar
Google

September 11, 2020

2.2 K Views GCP Cloud Engineer 21 hours ago

C Program To Print Your Own Name

In C programming language, we can use the scanf() and printf() functions to take input and output data respectively. In this article, we will write a C program to print your own name using these two f... Read Mores
Prathmesh Yelne

07-Apr-2023 15:15:28

1.8K Views C Programming 2 years ago

Write C Program For Finding The Length Of Loop In Linked List

Introduction: Linked lists are data structures that store data elements in a linear manner. Each element of a linked list, known as a node, consists of two parts: data and a pointer that points to the... Read Mores
Prathmesh Yelne

02-Apr-2023 15:08:05

avatar
Google

September 11, 2020

2.2 K Views GCP Cloud Engineer 21 hours ago

Write C program to Check Whether a Number is Positive or Negative

In this tutorial we'll learn how to check whether a given integer is positive or negative. We have the the number that we need to check that integer is positive or negative number using c program. ... Read Mores
Prathmesh Yelne

10-Feb-2023 13:46:26

Find Second largest element in an array using C Programming

Given an array of integers, our task is to write a program that efficiently finds the second largest element present in the array. Example: Input: arr[] = {12, 35, 1, 10, 34, 1} Output: The se... Read Mores
Prathmesh Yelne

12-Jan-2023 0:25:36

293 Views C Programming, Placements Questions 2 years ago
avatar
Google

September 11, 2020

2.2 K Views GCP Cloud Engineer 21 hours ago

Recursive program to linearly search an element in a given array using C

Given an unsorted array and an element x, search x in given array. Write recursive C code for this. If element is not present, return -1. Approach : The idea is to compare x with the last element... Read Mores
Prathmesh Yelne

15-Feb-2022 16:04:30

70 Views C Programming, Programming 3 years ago

Write C Program to Merge Two arrays in C Programming

Program : C Program to Merge Two arrays in C Programming #include<stdio.h> int main() { int arr1[30], arr2[30], res[60]; int i, j, k, n1, n2; printf("\nEnter no of elements in 1st arr... Read Mores
Prathmesh Yelne

17-Jan-2022 9:28:10

97 Views C Programming 3 years ago
avatar
Google

September 11, 2020

2.2 K Views GCP Cloud Engineer 21 hours ago