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...

Thursday, February 25, 2021

, , , ,

Example Program for isdigit() in c - Function in c

 isdigit() function in C programming use to checks whether a character is numeric character (0-9) or not. Prototype of isdigit() Function in Cint isdigit( int arg );isdigit() function in c programming take a single argument which is an integer and return type int.Given character is converted...
, , ,

Example program for isalpha in c - Function In C

 The isalpha() function in  programming is used to check whether a character is an alphabet or not.If a character is prove that it is an is an alphabet with the help of isalpha() function in c then it return non zero integer otherwise it gives zero. This function is define in the <ctype.h>...