You are here

Page not found

Search results

  1. Factorial program in C

    Factorial program in C using a for loop, using recursion and by creating a function . ... || []).push({}); Factorial in C using a for loop #include <stdio.h>   int main ( ) {   int c , n , f = 1 ;     printf ( "Enter a number to ...

    devyog - 11/10/2020 - 00:24

  2. clrscr in C

    Function "clrscr" (works in Turbo C++ compiler only) clears the screen and moves the cursor to the upper ... use system function to execute the clear/cls command. C programming code for clrscr #include<stdio.h> #include<conio.h> int ...

    devyog - 05/12/2019 - 23:07

  3. Addition of two numbers in C

    ... will continue to do what it's instructed. In C language, adding two numbers is the arithmetic operation of adding them using ... = window.adsbygoogle || []).push({}); C program to add two numbers #include <stdio.h> int main ( ...

    devyog - 06/04/2025 - 08:03

  4. C program to generate random numbers

    C program to generate pseudo-random numbers using rand and random function (Turbo C compiler only). As the random numbers are generated by an algorithm used in a ... || []).push({}); C programming code using rand We use modulus operator in our program. If you evaluate a % ...

    devyog - 29/09/2018 - 15:28

  5. C program to swap two numbers

    C program to swap two numbers with and without using third variable , using ... 4 and b = 5, after swapping them, a = 5, b = 4. In the first C program, we use a temporary variable to swap two numbers. ...       return 0 ; } C programming code to swap using bit-wise XOR #include <stdio.h> int main ...

    devyog - 19/11/2019 - 09:06

  6. C, C++, and Java programming tutorials and programs

    ... in an interactive way. Here you can find tutorials on c graphics programming, c project development , game programming ... You can download free C programming examples , C++ source codes , Java programs , programs and projects from beginner to ...

    devyog - 05/07/2018 - 14:10

  7. Even or odd program in C

    ... will instantly know whether it's odd or even. Let's write C programs to check odd or even using different methods. In the decimal ... || []).push({}); Odd or even program in C using modulus operator #include <stdio.h> int main ( ) ...

    devyog - 06/04/2025 - 14:41

  8. C++ inline function program

    ... writing the keyword inline before defining the function. C++ programming code #include <iostream> using namespace std ; ...

    devyog - 20/03/2018 - 11:16

  9. textcolor in C

    ... textcolor is used to change the color of drawing text in C programs Turbo C compiler only . Declaration: void textcolor(int ... || []).push({}); C programming code to change text color #include<stdio.h> #include<conio.h> ...

    devyog - 03/10/2018 - 17:42

  10. String copy in C

    C program to copy a string using library function strcpy and without using strcpy . String copy C program #include <stdio.h> #include <string.h> int main ( ) {   char source [ 1000 ] , destination [ 1000 ] ;   ...

    devyog - 18/11/2019 - 19:00

Pages