Thursday, March 18, 2021

Wednesday, March 17, 2021

Friday, March 12, 2021

, , , , ,

Friend function in C++ with example program

Well hiding the data is core of  object-oriented programming but friend function in C++ is an exception which break the rule of OOP's.friend function and friend classes in C++ programming helps to give the access member functions from outside the class.or in the other words the protected and private data of a class can be accessed with the help of function in C++.Declare friend function in C++ friend...

Tuesday, March 9, 2021

, , , ,

Substring function in r programming

 Substring() function in R can be used to extract the characters present in the data or to manipulate the given data. You can easily extract the required characters from a string and  Substring() in r can also replace the values in a string.Syntax for substring r :- substr(x,start,stop)substring(x,first,last=1000000L) Here...

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