C Program to demonstrate strspn function.

Write a C Program to demonstrate strspn function.The strspn() function returns the index of the first character in string1 that doesn’t match any character in string2. If all the characters of the string2 matched with the string1, strspn returns the length of the string1. Read more about C Programming Language . /************************************************************ You can use …

C program to demonstrate ceil function.

Write a C program to demonstrate ceil function.ceil is in the C math.h library.ceil function rounds up the smallest next integral value.Example:ceil(2.0) is 2.0ceil(2.1) is 3.0ceil(2.2) is 3.0——ceil(2.9) is 3.0Read more about C Programming Language. /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs …

C program to draw a circle using c graphics.

Write C program to draw a circle using c graphics.In this program we use the graphics.h library function to draw a circle. To use graphics.h, we have to install the drivers in to the the system by using the initgraph() function. In the program circle is the graphic function , which takes three parameters, first …