You are here

Page not found

Search results

  1. Scope resolution operator in C++

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

    devyog - 31/10/2019 - 20:55

  2. C++ program to generate random numbers

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

    devyog - 31/10/2019 - 19:57

  3. C program to merge two arrays

    C program to merge two arrays into another array. They are assumed to be sorted ... = window.adsbygoogle || []).push({}); C program to merge two sorted arrays // It is assumed a user will ... [ 100 ] , b [ 100 ] , m , n , c , sorted [ 200 ] ;   printf ( "Input number of ...

    devyog - 19/11/2019 - 20:02

  4. C program to get IP address

    C program to print IP (Internet Protocol) address of your computer, system ... works for Windows XP and Windows 7. If you are using Turbo C compiler then execute this program from the folder, it may not work when you ... = window.adsbygoogle || []).push({}); C program #include<stdlib.h> int main ( ) {   ...

    devyog - 23/11/2019 - 11:40

  5. C read file

    How to read a file in C? You already know what a file is and their types (text/binary ... they are present on the hard disk. Suppose you made a C program last week to sort numbers, and you wish to see the program again. How ... we discuss reading text files only. Let's write a C program to open a file from a hard disk whose name is entered by a user and ...

    devyog - 25/10/2020 - 21:59

  6. Palindrome number in C

    ... If both are the same, it's a palindrome otherwise not. C palindrome string program . (adsbygoogle = window.adsbygoogle || []).push({}); C program for palindrome number #include <stdio.h> int main ...

    devyog - 09/10/2020 - 23:18

  7. Area of a circle in C

    C program to find the area of a circle: C programming code to calculate the area of a circle. In the program, we use ... write the program now. Area of a circle program in C #include <stdio.h> #include <math.h> int main ( ...

    devyog - 04/11/2020 - 13:21

  8. C program to find maximum and minimum number in an array

    C program to find the maximum and minimum number in an array. A user will input ... find the largest and the smallest number in the array. C program #include <stdio.h> int main ( ) {   int a [ 100 ] , size , c , l , L ;   printf ( "Enter the number of elements in ...

    devyog - 24/11/2019 - 00:12

  9. C program to restrict mouse pointer in a circle

    C program #include<graphics.h> #include<conio.h> ... ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;     if ( ! initmouse ( ) ... ) ;     return 0 ; } C programming: Mouse Programs ...

    devyog - 01/12/2019 - 08:56

  10. C program to merge two files

    C program to merge two files and store their contents in another file. The ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <stdlib.h> int ... files program. Output of program: C programming: C programs ...

    devyog - 23/11/2019 - 11:40

Pages