Showing posts with label function program in c. Show all posts
Showing posts with label function program in 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...

Saturday, March 6, 2021

, , , , ,

Example program for isxdigit() function in c

 The isxdigit() function in c programming checks whether a character is a hexadecimal digit character (0-9, a-f, A-F) or not.Syntax for isxdigit in c :-int isxdigit( int arg ); isxdigit() ParametersThe isxdigit() in c takes a single character as it's parameter. C isxdigit() Return Value if...
, , ,

Example program for isspace() in c

 The isspace() function in c programming used to check whether a character is a white-space character or not.It return the non-zero integer if given argument to the isspace() in c is a white-space character, otherwise return 0.Syntax For isspace() function in c: - int isspace(int argument);First...
, , , , ,

Example program for ispunct in c

 The ispunct() function in c programming checks whether a character is a punctuation mark or not.Syntax for ispunct() in cint ispunct(int argument);it returns a non-zero integer if given characters to ispunct() in c is an punctuation otherwise return 0.Example for Program to check punctuation with...
, , , ,

Example program for isprint() in c

 The isprint() function in c programming is used to check the given character is a printable character or not.Printable characters in c programming are just the opposite of control characters and these type of characters checked using iscntrl() function in c.Syntax for isprint() in cint isprint(...

Monday, March 1, 2021

, , , ,

Example program for isgraph in c

 The isgraph() function in c use to checks that given character is a graphic character or not.What is graphic character:- Characters which have graphical representation are call as graphic characters. isgraph in c return the non zero integer if passed argument is an  graphic character otherwise returns 0.Syntax for isgraph in c int isgraph(int argument); Example program to...
, , , ,

Example program for iscntrl() function in c

  iscntrl() function in c Used to check if the given character is a control character or not.Characters that are not print on the screen are known as control characters for exam newline. If a character passed by iscntrl() function is a  control character then it  return non zero integer value otherwise return 0.   iscntrl() C is define in ctype.h header file.this function ...
, , , ,

Example program for islower() function in c

 The islower() function in c checks  that the given character is lowercase alphabet (a-z) or not.Syntax :-  int islower( int arg ); islower() function takes a single argument in the form of  integer and return the value of integer type.Return Value islower() function in c : - Non-zero number (x > 0)  it means given Argument is a lowercase alphabet.Zero (0) then given Argument...

Friday, February 26, 2021

, , ,

Example program for isupper() function in c

As it's name says isupper() function in c programming checks whether given character is an uppercase alphabet (A-Z) or not.C isupper() syntax : - int isupper(int argument);isupper() function takes a single argument in the form of int.Given argument converted into to its ASCII for the check. isupper()...
, , , ,

Example program for isalnum() function in c

 The isalnum() function in C use to checks given argument  is an alphanumeric character (alphabet or number) or not.Syntax : - int isalnum(int argument);This function is define in ctype.h header file. Return Value For isalnum() function in cit return 1 if given argument in program is an alphanumeric character.isalnum() function return 0 if given argument in program is not an alphabet or...

Sunday, December 6, 2020

Wednesday, October 21, 2020

, ,

List of function program in c programming language

 Well as all of you can see in previous tutorial of function in c programming we try to cover all in-build function in c not just only c but also other programming language like python, javascript, SQL, and other languages.List of function program in c programming language  In this tutorial...