Page not found
Search results
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 ( ) { ...
Yogesh Suneja - 24/11/2019 - 00:12
C program to find next prime palindrome
C program to find next prime palindrome: a user will enter a number, and we have ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <math.h> int ...
Yogesh Suneja - 01/12/2019 - 08:56
sprintf in c
Sprintf in C : It's just like printf but output is sent to a string, rather than standard ... to string. Previous content of string are overwritten. C program #include<stdio.h> int main ( ) { ...
Yogesh Suneja - 23/11/2019 - 11:40
Print numbers without using loops
C program to print first n natural numbers without using any loop (do-while, for, ... i.e., without creating any function other than main. C program using recursion #include <stdio.h> void print ( ...
Yogesh Suneja - 09/10/2020 - 22:48
C program to restrict mouse pointer
... rectangle. /* Program to restrict mouse-pointer */ C program #include<dos.h> #include<graphics.h> ... , gm ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; settextstyle ( DEFAULT_FONT , 0 ...
Yogesh Suneja - 23/11/2019 - 11:40
C program to move a car
Program in C using graphics to move a car. A car is made using two rectangles ... = window.adsbygoogle || []).push({}); C program #include <graphics.h> #include <dos.h> #include ...
Yogesh Suneja - 23/11/2019 - 11:40
C program to draw pie chart
This C program draws a pie chart showing percentage of various components drawn with different filling styles and colors. C program /* Program to draw a pie chart */ #include<graphics.h> ...
Yogesh Suneja - 23/11/2019 - 11:40
sqrt in C
Function sqrt in C returns the square root of a number. To use it, include the "math.h" header file in the program. Declaration: double sqrt(double); Square root in C using sqrt function #include <stdio.h> #include <math.h> ...
Yogesh Suneja - 04/11/2020 - 13:23
C program to get current position of mouse pointer
... to get mouse-pointer coordinates - where is the mouse */ C program #include<graphics.h> #include<conio.h> ... 50 ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; settextstyle ( DEFAULT_FONT , 0 ...
Yogesh Suneja - 23/11/2019 - 11:40
C program to determine which mouse button is clicked
... Program to determine which mouse button is clicked */ C program #include<graphics.h> #include<conio.h> ... 50 ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; settextstyle ( DEFAULT_FONT , 0 ...
Yogesh Suneja - 23/11/2019 - 11:40