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!

PythonF

Fill the Underscores

The program must accept a string S containing underscore(s) and N string values as the input. A group of consecutive underscores in the string…
CF

Strong password check

Recently a security committee decided to enforce the following rules when an employee creates/changes his/her password. ->The password must…
CF

Smallest Possible Odd Integer

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

Message Encryption

To encrypt messages Jil will first decide on the number of columns C to use. Then Jil will pad the message with letters chosen randomly so…
CF

Matrix Diagonals Sum

You are given a square matrix of size N*N.Calculate the sum of integers present in the two main diagonals Example 1: Input:35 10 1179 6 129 21…
CF

Filling Cans

Two cans are with capacity X and y liters.The program must determine the number of steps required to obtain exactly Z liters of liquid one of…
CF

Shift Encryption

Anmol wants to encrypt the message  which is to be sent to his business partner.Binamol,  so he shifts every alphabet by X positions…