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

Character Between Two Vowels

Given a string S, Print only the characters which are surrounded by vowels on both sides, if no character matches the condition print -1.…
CF

Matrix Find String Row-wise

A character matrix of size N*N and a string S are given as input.The program must check if the string is present in the matrix row-wise and…
CF

First N Common Characters

Two string values S1, S2 are passed as the input. The program must print first N characters present in S1 which are also present in S2. Input…
CF

Area of N Objects

The program must accept the shape and dimensions of N objects as the input. The program must print the sum of the area of all the objects as…
CF

Sum of Dice Values

Pairs of integers are passed as the input to the program. The integers in each pair represent values of two dice in a game. If both the values…
CF

Vector of Characters

Design a class charVector that has a character vector as datamember. Provide member functions in the class to createVector, duplicateVector,…