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

Count the Ships

Count the Ships: A sea is represented as an N*N matrix where # represents a part of a ship and – represents water. All the ships are…
CF

Merge Two Sorted Arrays

Given two sorted arrays A1 and A2 with size S1 and S2 respectively, merge the two array elements in sorted order and print the sorted elements…
CF

Musical Bench

A group of P players are playing musical bench game in which B number of benches are present in a circular fashion and are placed with equal…
CF

Inverted L-Shaped Matrix

Given a squarematrix of size S, print the matrix in the format given in Example Input/Output section. Input Format:The first line…
CF

Hare & Tortoise – 001

Most of us would know the Hare & the Tortoise story. As the hare can run faster than the tortoise, god gives some magical power points X…