You are here

Page not found

Search results

  1. C program to find maximum element in a matrix

    C programming code to find the largest or the maximum element in a matrix. C code #include<stdio.h> #include<conio.h>   main ( ) { int m , n , c , d , matrix [ 10 ] [ 10 ] , maximum ;   ...

    yogesh - 06/01/2018 - 20:39

  2. C program to perform addition, subtraction, multiplication and division

    C program to perform basic arithmetic operations which are addition, ... assumed to be integers and will be entered by the user. C programming code #include <stdio.h>   int main ( ) { ... operations program. Output of program: In C language when we divide two integers we get integer result, for example,5/2 ...

    yogesh - 05/01/2018 - 16:05

  3. getx function in C

    ... of the current position. Declaration: int getx(); C program of getx #include <graphics.h> #include <conio.h> ... ] ;   initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;   sprintf ( array , "Current ...

    yogesh - 16/01/2018 - 19:08

  4. Matrix multiplication in C

    Matrix multiplication in C language: C program to multiply two matrices (two-dimensional array) which will be ... multiply them in Mathematics. Matrix multiplication in C language #include <stdio.h>   int main ( ) { ...

    yogesh - 06/01/2018 - 18:30

  5. Palindrome number in C

    Palindrome number in C language: A palindrome number is a number such that if we reverse it, it ... number 5. Else print not a palindrome number. C program for palindrome number #include <stdio.h>   int main ... program. Output of the program: C programming: C programs ...

    yogesh - 05/01/2018 - 17:10

  6. C program to add two complex numbers

    C program to add two complex numbers: this program performs addition of two ... used to store complex number. Complex numbers program in C language #include <stdio.h>   struct complex { int ... main ( ) { struct complex a , b , c ;   printf ( "Enter a and b where a + ib is the first complex ...

    yogesh - 06/01/2018 - 20:20

  7. Scope resolution operator in C++

    Scope resolution operator (::) in C++ programming language is used to define a function outside a class or when ... but also has a local variable with the same name. C++ programming code #include <iostream>   using namespace std ;   char c = 'a' ; // global variable   int main ( ) { ...

    yogesh - 08/01/2018 - 20:50

  8. C++ program to generate random numbers

    C++ program to print random numbers. C++ programming code #include<iostream> #include<cstdlib>   ... std ;   main ( ) { int n, max, num, c ;   cout << "Enter the number of random numbers you want " ...

    yogesh - 08/01/2018 - 20:41

  9. paint program in c

    Paint program in c:- This program can draw different shapes using mouse such as line, circle, ... change the color, clear the screen. Code of paint program in c is given below:- /* To understand the code see output below the code, it will help you in understanding the code. */ C programming code #include<graphics.h> #include<dos.h> ...

    yogesh - 28/12/2017 - 21:34

  10. C program to check subsequence

    C program to check Subsequence , don't confuse subsequence with substring. ... is of smaller or equal length than the second string. C programming code #include <stdio.h> #include <string.h>   ... a [ ] , char b [ ] ) { int c , d ;   c = d = 0 ;   while ( a [ c ] ...

    yogesh - 06/01/2018 - 19:00

Pages