Page not found
Search results
clrscr in C
Function "clrscr" (works in Turbo C++ compiler only) clears the screen and moves the cursor to the upper ... use system function to execute the clear/cls command. C programming code for clrscr #include<stdio.h> #include<conio.h> int ...
Yogesh Suneja - 05/12/2019 - 23:07
C program to generate random numbers
C program to generate pseudo-random numbers using rand and random function (Turbo C compiler only). As the random numbers are generated by an algorithm used in a ... || []).push({}); C programming code using rand We use modulus operator in our program. If you evaluate a % ...
Yogesh Suneja - 29/09/2018 - 15:28
C program to swap two numbers
C program to swap two numbers with and without using third variable , using ... 4 and b = 5, after swapping them, a = 5, b = 4. In the first C program, we use a temporary variable to swap two numbers. ... return 0 ; } C programming code to swap using bit-wise XOR #include <stdio.h> int main ...
Yogesh Suneja - 19/11/2019 - 09:06
C, C++, and Java programming tutorials and programs
... in an interactive way. Here you can find tutorials on c graphics programming, c project development , game programming ... You can download free C programming examples , C++ source codes , Java programs , programs and projects from beginner to ...
Yogesh Suneja - 05/07/2018 - 14:10
C++ inline function program
... writing the keyword inline before defining the function. C++ programming code #include <iostream> using namespace std ; ...
Yogesh Suneja - 20/03/2018 - 11:16
textcolor in C
... textcolor is used to change the color of drawing text in C programs Turbo C compiler only . Declaration: void textcolor(int ... || []).push({}); C programming code to change text color #include<stdio.h> #include<conio.h> ...
Yogesh Suneja - 03/10/2018 - 17:42
String copy in C
C program to copy a string using library function strcpy and without using strcpy . String copy C program #include <stdio.h> #include <string.h> int main ( ) { char source [ 1000 ] , destination [ 1000 ] ; ...
Yogesh Suneja - 18/11/2019 - 19:00
ellipse and fillellipse functions
... and fill it with current drawing color and pattern. C programming code for ellipse #include<graphics.h> main ( ) { ...
Yogesh Suneja - 11/01/2018 - 23:19
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 ...
Yogesh Suneja - 11/10/2020 - 11:36
getch in C
Function getch in C program prompts a user to press a character. It doesn't show up on the ... header file. The function is not a part of standard C library. C programming code for getch #include <stdio.h> #include <conio.h> int ...
Yogesh Suneja - 14/12/2019 - 21:35