Page not found
Search results
String copy in C
... int main ( ) { char source [ 1000 ] , destination [ 1000 ] ; ... ( "Input a string \n " ) ; gets ( source ) ; strcpy ( destination , source ) ; ...
devyog - 18/11/2019 - 19:00
C program to copy a file
... int main ( ) { char ch , source_file [ 20 ] , target_file [ 20 ] ; FILE * source , * target ; printf ( "Enter name of file to ...
devyog - 23/11/2019 - 11:40
C program to find minimum value in an array
... 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 ... return index ; } C programming code using pointers #include <stdio.h> int main ( ) ...
devyog - 11/10/2020 - 11:36
C++ new operator example
C++ new operator example: C++ code using "new" operator to allocate memory on heap dynamically. C++ programming code #include <iostream> using namespace std ; ...
devyog - 11/12/2019 - 11:11
rectangle function in c
... specifies the Y-coordinate of right bottom corner. The code given below draws a rectangle. C programming code for rectangle #include<graphics.h> #include<conio.h> ...
devyog - 05/07/2018 - 14:10
C program to print date
... print date, we will use getdate function. C programming code (Works in Turbo C only) #include <stdio.h> #include ... ) ; return 0 ; } This code works in Turbo C only because it supports dos.h header file. C ...
devyog - 13/03/2018 - 12:40
Line function in c
... i.e. (x1,y1) and (x2,y2) are end points of the line.The code given below draws a line. Declaration: void line(int x1, int y1, int x2, int y2); C programming code for line #include <graphics.h> #include <conio.h> ...
devyog - 08/01/2018 - 20:55
Remove vowels from a string in C
... Output of program: C programming code using pointers #include<stdio.h> #include<stdlib.h> ...
devyog - 11/10/2020 - 23:29
getch in C
... is not a part of standard C library. C programming code for getch #include <stdio.h> #include <conio.h> int ...
devyog - 14/12/2019 - 21:35
C program remove spaces, blanks from a string
... program. Output of program: C programming code using pointers #include <stdio.h> #include <string.h> ...
devyog - 23/11/2019 - 11:40