answersLogoWhite

0

A friend is any class, class method or function that is declared to be a friend of a class. Friends have private access to the classes that declare them friends.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the best datatype for storing your birthday?

in Unix: the datatype is "Date" in C++: the datatype is "char"


When do you declare a variable?

You declare a variable when you create it by specifying its datatype and name in a programming language. This tells the compiler or interpreter to allocate memory for the variable. Variables must be declared before they can be used in most programming languages.


What is the best datatype for storing birthdays?

in Unix: the datatype is "Date" in C++: the datatype is "char"


Write a program that show size of datatype?

sizeof(datatype)


What is mean by parse in java?

It is used to convert the value of one datatype into a value of another datatype. Example- Integer.parseInt(in.readLine); It converts given value to Integer datatype.


What is datatype of pointers?

pointer


C program to implement tower of hanoi using array implementation of stack abstract datatype?

stack abstract datatype


What datatype is weapon name?

double


How do you declare functions?

datatype function_name() { }


What is user define datatype and explain it?

Any datatype which the user creates in code, that isn't native to the language. A linked list can be an example of this


What are Objects and Classes in C programming?

C is not an object-oriented programming language. As such there is no such thing as an object or a class in C programming. C++ is the object-oriented version of C (originally known as C with Classes). The two are separate languages that share a common syntax. A class is a datatype, much like a struct in C, except that you can define functions as members as well as data. An object is an instance of a class.


What is data type check?

A data type (or datatype) in programming languages is an attribute of data that represents the kind and structure of the data. This involves setting constraints on the data, such as validity restrictions to values and the types of operations that may be performed upon it.