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

Integer – Sum of Digits

The program must accept an integer value N as a command line argument and print the sum of the digits in N.Example Input/Output…
CF

Matrix – Sum of Edge Elements

The input elements of R*C matrix is passed as the input (R is the number of rows and C is the number of columns in the matrix. The program…
CF

Pattern Printing – Start Number

Given an integer N as the input and a start integer S, print the pattern as given in the Example Input/Output section. Input Format: The first…
PythonF

Morning Walk Distance

A man in order to reduce his weight walks along the boundary of a rectangular plot every morning. Depending on his energy level he walks for N…
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…