You are here

Page not found

Search results

  1. C program to convert string to integer without using atoi function

    C program to convert string to integer: It is frequently required to convert a ... to an integer but we will create our own function. C program // C program to convert string to integer without using atoi function ...

    Yogesh Suneja - 23/11/2019 - 11:40

  2. Exception handling in Java

    ... At compile time, syntax and semantics checking is done, and code doesn't get executed on a machine, so exceptions get caught at run time. ... {     String languages [ ] = { "C" , "C++" , "Java" , "Perl" , "Python" } ;       ...

    Yogesh Suneja - 04/12/2019 - 21:33

  3. pow function in C

    ... Declaration: double pow(double, double); Function pow in C language #include <stdio.h> #include <math.h> int main ( ) {   double c , d , result ;   printf ( "Enter c and d to calculate ...

    Yogesh Suneja - 27/11/2019 - 18:54

  4. setlinestyle in C

    ...  DASHED_LINE ,    USERBIT_LINE } ; C program #include <graphics.h> int main ( ) {   int gd = DETECT , gm , c , x = 100 , y = 50 ;   initgraph ( & gd ...

    Yogesh Suneja - 23/11/2019 - 11:40

  5. Circle function in c

    ... and third parameter specifies the radius of the circle. The code given below draws a circle. C program for circle #include<graphics.h> #include<conio.h> ...

    Yogesh Suneja - 08/01/2018 - 20:55

  6. Draw shapes using C graphics

    This C graphics program draws basic shapes such as circle, line, rectangle, ellipse and display text on screen using C graphics. This can be a first graphics program for a beginner. C program #include<graphics.h> #include<conio.h> main ( ...

    Yogesh Suneja - 23/11/2019 - 11:40

  7. 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 ( ) {   ... 1 ;   float b = 1.23 ;   char c = 'u' , string [ 100 ] = "My initial character ...

    Yogesh Suneja - 23/11/2019 - 11:40

  8. Getarcoords function in C

    ... type arccoordstype is passed to function getarccoords. C program of getarccoords #include<graphics.h> #include<conio.h> ... ] ;    initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ;    arc ( 250 , 200 , 0 ...

    Yogesh Suneja - 12/10/2020 - 22:47

  9. assert in C

    ... assert(int expression); The expression can be any valid C language expression many a time it is a condition. In the program, we ... the condition that does not hold (see image below). C assert program #include <stdio.h> #include ...

    Yogesh Suneja - 02/10/2020 - 16:14

  10. Leap year program in C

    Leap year program in C to check if a year is a leap year or not, a leap year is one that has 366 ... || []).push({}); Leap year C program   #include <stdio.h> int main ( ) { ...

    Yogesh Suneja - 02/10/2020 - 00:25

Pages