Page not found
Search results
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
Java programs
... the class file and execute it directly without compiling the source file. (adsbygoogle = ... ] arguments ) { & # 13 ; int c ; //declaring a variable & # 13 ; /* Using a ...
devyog - 31/05/2024 - 09:46
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
ellipse and fillellipse functions
... and fill it with current drawing color and pattern. C programming code for ellipse #include<graphics.h> main ( ) { ...
devyog - 11/01/2018 - 23:19
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
C program to find minimum value in an array
C program to find the minimum or the smallest element in an array. It also ... = window.adsbygoogle || []).push({}); C program to find smallest number in an array #include <stdio.h> ... or minimum value at the smallest index. You can modify the code to print the largest index at which the minimum occurs. You can also store ...
devyog - 11/10/2020 - 11:36
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