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

Common Part in string values

Two string values S1 and S2 are passed as input. The last portion of S1 will be the first portion of S2. The program must print this common…
CF

Character B follows A

Given a string S and two characters A, B the program must print the number of occurrences where A is followed by B. Example 1:…
CF

String Sorted in Descending Order

The program must accept N string values as the input. The program must print the N string values sorted lexicographically in descending order…
CF

Flip Count – Matrix

The program must accept a matrix of size NxN as the input. The matrix contains only 0’s and 1’s. The program must transpose the…
PythonF

Patients Token

The program must accept the names of N patients and the time (in 24-hr format) they entered a hospital as the input. The hospital’s…
CF

Function findMissingInteger

The function/method findMissingInteger accepts three arguments R, C and matrix. The integers R and C represent…
CF

Series Team Score

Two soccer team A and B play a series of matches over a period of time. In a match, the winning team gets 3 points. If the match ends in a…
CF

Function mergeEveryTwoIntegers

The function/method mergeEveryTwoIntegers accepts two arguments – SIZE and arr. The integer SIZE represents the size of the integer…