You are here

Page not found

Search results

  1. C program to reverse words in a string

    C program to reverse words in a string or sentence, for example, if the input string is "c++ ... Then repeat the previous step until the string ends. C program #include <stdio.h> #include <string.h> void ...

    devyog - 23/11/2019 - 11:40

  2. Armstrong number in Java

    Java program to check if a number is Armstrong or not, it is a number that is equal to the sum of digits ...

    devyog - 05/12/2019 - 00:30

  3. C programs

    ... will work with GCC and Dev C++ compilers. The first program, prints "Hello World." ... However, it's a good idea to learn C before learning C++ or Java. C++ is object-oriented and contains all features of C, so learning C help ...

    devyog - 16/02/2025 - 16:32

  4. Even or odd program in C

    If I tell you a number, you will instantly know whether it's odd or even. Let's write C ... || []).push({}); Odd or even program in C using modulus operator #include <stdio.h> int ... = window.adsbygoogle || []).push({}); C program to find odd or even using bitwise operator #include <stdio.h> ...

    devyog - 06/04/2025 - 14:41

  5. Linear search in C

    ... on a street containing 20 houses. But you forgot the house number, so how do you find the house number where your friend lives? We will ... || []).push({}); Linear search program in C #include <stdio.h> int main ( ) { ...

    devyog - 05/04/2025 - 22:18

  6. C program to find the largest number in an array

    C program to find the largest number in an array using a function and without it . We also print the ... = window.adsbygoogle || []).push({}); C program to find largest number in an array #include <stdio.h> ...

    devyog - 11/10/2020 - 11:19

  7. Hello world program in C

    How to write a Hello World program in C language? To learn a programming language, you must start writing ... not be familiar with the strings yet. C Hello world a number of times Using a loop we can display it a number of times. ...

    devyog - 16/02/2025 - 17:35

  8. Matrix addition in C

    ... compute their sum and print it. A user inputs their orders (number of rows and columns) and the matrices. For example, if the order is 2, ...     return 0 ; } Output of the program: Download Add Matrix program. In the above program we ...

    devyog - 06/04/2025 - 12:34

  9. Palindrome in C

    C program to check if a string or a number is palindrome or not . A palindrome string is one that reads the same ... A palindrome number is a number that is equal to its reverse. Algorithm to check Palindrome string Copy input string into ...

    devyog - 14/10/2020 - 19:48

  10. Sum of digits in C

    Every number consists of digits. For simplicity, we will consider positive integers ... it to the variable sumOfDigits). The sum of digits C program to calculate the sum of digits of a number, we use the modulus operator ... || []).push({}); Output of program: For example, if the input is 98, the variable sum is 0 ...

    devyog - 25/05/2024 - 08:58

Pages