You are here

Page not found

Search results

  1. Hello world program in C

    How to write a Hello World program in C language? To learn a programming language, you must start writing programs in it, and this could be your first C program. Let's have a look at the program first. #include <stdio.h> ...

    devyog - 16/02/2025 - 17:35

  2. C program to check whether a character is vowel or consonant

    C program to check whether a character is a vowel or consonant: A user inputs a ... "Enter a character \n " ) ;   scanf ( "%c" , & ch ) ;   // Checking both lower and upper case, || ... || ch == 'U' )     printf ( "%c is a vowel. \n " , ch ) ;   else     printf ( ...

    devyog - 16/02/2025 - 14:42

  3. getpixel function in c

    ... y). Declaration: int getpixel(int x, int y); C program for getpixel #include<graphics.h> #include<conio.h> ... 50 ] ;   initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;   color = getpixel ( 0 , 0 ...

    devyog - 28/02/2025 - 22:18

  4. C program to find roots of a quadratic equation

    C program to find roots of a quadratic equation: Coefficients of the equation ... (imaginary). For a quadratic equation ax 2 + bx + c = 0 (a≠0), discriminant (b 2 -4ac) decides the nature of roots. If it's ... the sum of its roots = -b/a and the product of its roots = c/a. Let's look at the program now. ...

    devyog - 16/02/2025 - 16:44

  5. 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

  6. Java programs

    ... the class file and execute it directly without compiling the source file. (adsbygoogle = ... ] arguments ) { & # 13 ;     int c ; //declaring a variable&#13;   & # 13 ;   /* Using a ...

    devyog - 31/05/2024 - 09:46

  7. Pattern programs in C

    Pattern programs in C language, showing how to create various patterns of numbers and stars. The ... inputs the numbers of rows to print. Pattern program in C #include <stdio.h> int main ( ) {   int ... For more patterns or shapes on numbers and characters see codes on following pages: Floyd triangle Pascal triangle ...

    devyog - 02/10/2020 - 00:19

  8. Palindrome in C

    C program to check if a string or a number is palindrome or not . A ... then the string is a palindrome otherwise not. C program to check palindrome without using string functions . Some ... copy_string ( char * target , char * source ) {     while ( * source )     {     ...

    devyog - 14/10/2020 - 19:48

  9. C programming

    To quickly learn C language you must start writing programs in it. To do so you need a text editor and a compiler to translate a source program into machine code that can be executed directly on a machine. ... tool to create programs, if you wish to look at some example codes then see C programming examples . How to compile and run your ...

    devyog - 10/12/2019 - 20:37

  10. Sum of digits in C

    ... gives the remainder 2 (the sum of a digit of the number 2). C language has an operator '%' (don't confuse it with the percentage symbol of ... (add it to the variable sumOfDigits). The sum of digits C program to calculate the sum of digits of a number, we use the modulus ...

    devyog - 25/05/2024 - 08:58

Pages