Page not found
Search results
C program to find HCF and LCM
C program to find HCF and LCM: The code below finds the highest common factor and the least ... || []).push({}); Download HCF and LCM program. Output of program: C program to find hcf and lcm using ...
devyog - 10/12/2019 - 20:50
Sum of digits in C
... 125 contains three individual digits, i.e., 1, 2, and 5. To find the sum of individual digits of a number (input), we need to get and 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 operator ...
devyog - 25/05/2024 - 08:58
Java program to find all substrings of a string
Java program to find substrings of a string: This program finds all substrings of a string and ...
devyog - 05/12/2019 - 18:31
Addition of two numbers in C
... = window.adsbygoogle || []).push({}); C program to add two numbers #include <stdio.h> int main ( ... return 0 ; } Output of the program: Download Add numbers program. Similarly, we can ...
devyog - 06/04/2025 - 08:03
C program to add two numbers using pointers
C program for the addition of two numbers using pointers. In the program, we have two integer variables x and y and two pointer variables p and ... of operator and '*' is value at the address operator. C program #include <stdio.h> int main ( ) { ...
devyog - 06/04/2025 - 13:33
Matrix addition in C
... return 0 ; } Output of the program: Download Add Matrix program. In the above program we have used three nested for loops (one loop ...
devyog - 06/04/2025 - 12:34
Division in C
... integer result, e.g., 5/2 evaluates to 2. Let's write a program to understand division in C. While dividing to avoid getting the result ... to an integer we convert denominator to float in our program, you may also write float in the numerator. This explicit conversion is ...
devyog - 06/04/2025 - 14:06
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 ... ; return 0 ; } C program to check vowel or consonant using if else In this program, we check whether a character is a vowel, a consonant, a punctuation, ...
devyog - 16/02/2025 - 14:42
getpixel function in c
... y). Declaration: int getpixel(int x, int y); C program for getpixel #include<graphics.h> #include<conio.h> ... BLACK, the color of the pixel at (0,0) is BLACK. Thus, the program's output will be 0, as it indicates BLACK color. C ...
devyog - 28/02/2025 - 22:18
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