nerdexam
GIAC

GSSP-.NET · Question #360

GSSP-.NET Question #360: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #360. The question stem and answer options stay visible for context.

Question

  • (Topic 3) Sam works as a Software Developer for GenTech Inc. The company uses Visual Studio .NET as its application development platform. Sam develops an application named App1 using Visual C# .NET. App1 uses a non-COM DLL named Value1.dll, which contains unmanaged code. Sam wants to write a method named Method1 in Value1.dll. He wants to use Method1 for parsing a string into an array of string values and an array of numbers. He decides to specify three parameters for Method1. The first parameter will contain a static string value. After executing Method1, the second parameter will contain all string values found in the first parameter, and the third parameter will contain all integer values found in the first parameter. Sam wants to enable App1 to call this function. Which of the following code will he use to accomplish this?

Options

  • Aint Method1 Lib "Value1.dll"(string, out string, out int);
  • Bint Method1 Lib "Value1.dll"(string, ref string, ref int);
  • Cint Method1 Lib "Value1.dll"(ref string, string, int);
  • Dint Method1 Lib "Value1.dll"(string, string, int);

Unlock GSSP-.NET to see the answer

You've previewed enough free GSSP-.NET questions. Unlock GSSP-.NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSSP-.NET Practice