## C Program for Number of stopping station problem

There are 12 intermediate stations between two places A and B. Find the number of ways in which a train can be made to stop… Read More »

- Interesting Facts in C Programming | Set 2
- time.h header file in C with Examples
- TCP Client-Server Program to Check if a Given String is Palindrome
- What is a Pointer to a Null pointer
- How to Append a Character to a String in C
- C program to store Student records as Structures and Sort them by Age or ID
- time.h localtime() function in C with Examples
- size of char datatype and char array in C
- Arrow operator -> in C/C++ with Examples
- C Program to concatenate two strings without using strcat
- C program to print the length of a String using %n format specifier
- How to store words in an array in C?
- Program to print the Alphabets of a Given Word using * pattern
- C Program to Store Information of Students Using Structure
- unsigned char in C with Examples

There are 12 intermediate stations between two places A and B. Find the number of ways in which a train can be made to stop… Read More »

Problem – Givens Two number N and K, our task is to subtract a number K from N until number(N) is greater than zero, once… Read More »

fork() is a system call function which can generate child process from parent main process. Using some conditions we can generate as many child process… Read More »

So far the operations using C program are done on a prompt / terminal which is not stored anywhere. But in the software industry, most… Read More »

Compound Interest formula: Formula to calculate compound interest annually is given by: Compound Interest = P(1 + R/100)r Where, P is principle amount R is… Read More »

Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term. Examples: Input : n = 5 Output… Read More »

Simple interest formula is given by: Simple Interest = (P x T x R)/100 Where, P is the principle amount T is the time and… Read More »

Given a long integer, we need to find if the difference between sum of odd digits and sum of even digits is 0 or not.… Read More »

Given a number, find minimum sum of its factors. Examples: Input : 12 Output : 7 Explanation: Following are different ways to factorize 12 and… Read More »

Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special… Read More »

Given a decimal number as input, we need to write a program to convert the given decimal number into equivalent binary number. Examples: Input :… Read More »

Insertion sort is a simple sorting algorithm that works the way we sort playing cards in our hands. Below is an iterative algorithm for insertion… Read More »

Given two integers n and k. Find position the n’th multiple of K in the Fibonacci series. Examples: Input : k = 2, n =… Read More »

We have N coins which need to arrange in form of a triangle, i.e. first row will have 1 coin, the second row will have… Read More »

Problem: Given an array arr[] of n elements, write a function to search a given element x in arr[]. C/C++ filter_none edit close play_arrow link… Read More »