You are here

Page not found

Search results

  1. Arithmetic operations in C

    C program to perform basic arithmetic operations of addition, subtraction, ... of two numbers/integers that user inputs. Division in C In C language, when we divide two integers, we get an integer result, e.g., 5/2 ...

    Yogesh Suneja - 11/10/2020 - 01:08

  2. String compare in C

    How to compare strings in C? You can use do it using strcmp function , without strcmp function and ... = window.adsbygoogle || []).push({}); C compare strings #include <stdio.h> #include <string.h> ... program: Download Compare Strings program. C string comparison program We can create a function to compare two ...

    Yogesh Suneja - 05/12/2019 - 08:50

  3. C program to print diamond pattern

    The diamond pattern in C language: This code prints a diamond pattern of stars. The diamond shape is ... || []).push({}); Diamond pattern program in C #include <stdio.h> int main ( ) {   int n , c , k ;   printf ( "Enter number of rows \n " ) ; ...

    Yogesh Suneja - 26/11/2019 - 22:50

  4. Pascal triangle in C

    C program to print the Pascal triangle that you might have studied while ... || []).push({}); Pascal triangle program in C language #include <stdio.h>   long factorial ( int ... int main ( ) {   int i , n , c ;     printf ( "Enter the number of rows you wish to see in ...

    Yogesh Suneja - 09/10/2020 - 23:22

  5. 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 ... = window.adsbygoogle || []).push({}); C programming code using rand We use modulus operator in our program. If ...

    Yogesh Suneja - 29/09/2018 - 15:28

  6. C program to shut down or turn off computer

    C program to shut down your computer, i.e., to turn off a computer system. ... to run an executable file "shutdown.exe" which is present in C:\WINDOWS\system32 folder in Windows 7 & XP. See Windows XP and Linux programs ... = window.adsbygoogle || []).push({}); C program for Windows 7 #include <stdio.h> #include <stdlib.h> ...

    Yogesh Suneja - 18/11/2019 - 22:17

  7. C programming

    To quickly learn C language you must start writing programs in it. To do so you need a text ... machine code that can be executed directly on a machine. Dev C++ IDE is a good choice, so if you are not having it installed on your computer then download Dev C++ compiler . (adsbygoogle = ...

    Yogesh Suneja - 10/12/2019 - 20:37

  8. C program to count number of vowels in a string

    C program to count number of vowels in a string: for example, in the string ... || []).push({}); Count vowels in a string in C #include <stdio.h> int main ( ) {   int c = 0 , count = 0 ;   char s [ 1000 ] ; ...

    Yogesh Suneja - 23/11/2019 - 11:40

  9. 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> ... will be printed. Function clrscr doesn't work in Dev C++ compiler. Use the cleardevice function instead of clrscr in graphics ...

    Yogesh Suneja - 05/12/2019 - 23:07

  10. Armstrong number in C

    Armstrong number C program to check whether a number is an Armstrong number or not, it's a ... then the number is an Armstrong number otherwise not. C program to print Armstrong numbers ... + 1 + 823543 +128 + 78125) Armstrong number program in C #include <stdio.h> int power ( int , int ) ...

    Yogesh Suneja - 12/12/2019 - 21:06

Pages