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

Interlace odd / even from A to B

Two numbers A and B are passed as input. The program must print the odd numbers from A to B (inclusive of A and B) interlaced with the even…
CF

Reverse Order – print N to 1

A number N is passed as the input. The program must print the numbers from N to 1 (inclusive of N). Input Format: The first line denotes the…
PythonF

First Five Values Divisible

Three numbers A, B and C are passed as input. The program must print the first five values that are divisible by A, B and C.Input Format:The…
CF

Second smallest number

Given a set of elements, write an algorithm and the subsequent ‘C’ program to determine the second smallest element in it. Input Format Number…
CF

Sean's Encryption Quest!

One day Sean’s friend John wanted him to encrypt a few messages that were to be sent via a TELEGRAM group, so that everyone could see…
CF

Punctuality Incentive

The CEO of company ABC Inc wanted to encourage the employees coming on time to the office. So he announced that for every consecutive day an…
CF

Digit In Tenth Position

The program must accept a positive integer N and print the digit in the tenth position. Input Format:The first line denotes the value of…
CF

Cyclic Shift

Given a set of elements, write an algorithm and the subsequent ‘C’ program to perform cyclic right shift of the array by ‘m’…