Page not found
Search results
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
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
Matrix addition in C
Matrix addition in C language to add two matrices, i.e., compute their sum and print it. A user ... || []).push({}); Addition of two matrix in C #include <stdio.h> int main ( ) { int m , n , c , d , first [ 10 ] [ 10 ] , second [ 10 ] ...
devyog - 06/04/2025 - 12:34
Exception handling in Java
... { String languages [ ] = { "C" , "C++" , "Java" , "Perl" , "Python" } ; try ...
devyog - 04/12/2019 - 21:33
Division in C
We can divide two numbers in C language using the division operator '/'. Consider the expression z = ... result is assigned to variable z. Integer division in C When we divide two integers the result may or may not be an integer. ...
devyog - 06/04/2025 - 14:06
C program to add two numbers using pointers
C program for the addition of two numbers using pointers. In the program, we ... of operator and '*' is value at the address operator. C program #include <stdio.h> int main ( ) { ... using pointers program. Output of program: C program to add numbers using call by reference #include <stdio.h> ...
devyog - 06/04/2025 - 13:33
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
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
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
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