Home / MCQ Bank / Computer
Computer Classes And Objects In C Plus Plus

Where does keyword 'friend' should be placed?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • function declaration

Related Computer Questions

Which statement is valid for the following C# code snippet? public class Generic<T> { public T Field; } class Program { static void Main(string[] args) { Generic<String> g = new Generic<String>(); g.Field = "Hi"; Console.WriteLine(g.Field); } } Which of the following is the object oriented way to handle run time errors? Which of the following is not a worksheet design criterion? Which of the following is NOT one of the four major data processing functions of a computer? Which of the following is not related to email composing?