C

C

Explore our C programming domain filled with a wealth of articles! Discover tutorials, advanced techniques, code examples, and best practices to enhance your skills. Dive in and start coding with confidence today!

CF

Minimum Sum – M out of N

Given N positive integers, find the minimum sum S that can be obtained by adding exactly M out of the N integers. The program must print the…
CF

Minimum Distance between words

A string S is passed as the input.Two words w1 and w2 which are present in the string S are also passed as the input. The program  must…
CF

Word Search in Matrix

The program must accept a character matrix of size R*C and a string S as input. The program must search the string S in…
CF

K Alphabets in Reverse Order

The program must accept a lowercase alphabet ch and an integer K as the input. The program must print K alphabets from ch in reverse…
CF

Choose items for highest discount

Chandru went for shopping and he was offered N number of items at various discount percentage rates.Out of these N items he wants to choose…
CF

Robot – Stair Climbing

There are N stairs to be climbed in a building. A robot can take only S different leaps each containing certain distinct…
CF

Non-Measurable Smallest Weight

A shop-keeper is having N integer values representing the measurement weights. He wishes to find the smallest integer value of…
CF

Largest Possible Odd Integer

The program must accept an integer N as the input. The program must print the largest possible odd integer using all the digits in N…
CF

New Magician

You are a programming-savvy person and you never get involved in any extra-curricular activities. Your faculty mentor has ordered that you…