Home / MCQ Bank / Computer
Computer Classes And Objects In C Plus Plus Difficulty: Medium

Which keyword is used to represent a friend function?

Select the correct option to test your answer:

More Computer Questions

What is the purpose of the 'volatile' keyword when used with a function in C? Which of the following command allows you to update the repository? What happens if the following program is executed in C and C++? #include <stdio.h> int main(void) { int new = 5; printf("%d", new); } The log in which data changes received from a replication master server are written are . . . . . . . . What will be the output of the following C# code? class maths { int i; public maths(int x) { i = x; Console.WriteLine(" hello: "); } } class maths1 : maths { public maths1(int x) :base(x) { Console.WriteLine("bye"); } } class Program { static void Main(string[] args) { maths1 k = new maths1(12); Console.ReadLine(); } }