Showing posts with label c. Show all posts
Showing posts with label c. Show all posts

Saturday, May 22, 2021

, , , , ,

strcoll() function in c with example program

strcoll() in c is a library function use to compares string str1 to str2 and result will depends on  result is the LC_COLLATE setting of the location.Syntax for strcoll() in c int strcoll(const char *str1, const char *str2)Parameters for strcoll():-str1 & str2 are two Parameters which is going to use for strcoll() function in c.Read more :- Arc function in C with graphics in c  Return...
, , , ,

clock() function in c with example program

 To calculate the time in c programming we can use clock() function in c which is define in time.h header file clock  can call at the beginning and end of the code for which will help to measure time.In this process subtract the obtain values for the clock function, and then divide by CLOCKS_PER_SEC...

Monday, April 5, 2021

, , , , ,

Arc function in C with graphics in c

 Declaration: void arc(int x, int y, int stangle, int endangle, int radius);"arc" operate is employed to draw associate arc with center (x, y) for example draw a corcle in c programming and stangle specifies beginning angle for arc, end angle for arc can be define by endangle and the and last parameter specifies the radius of the arc. arc operate may also be accustomed draw a circle except...