Home / MCQ Bank / Computer
Computer Memory Allocation

Which function is used to allocate an array of elements in C?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • calloc()

Related Computer Questions

What will be the output of the following C# code? class maths { public maths() { Console.WriteLine("constructor 1 :"); } public maths(int x) { int p = 2; int u; u = p + x; Console.WriteLine("constructor 2: " +u); } } class Program { static void Main(string[] args) { maths k = new maths(4); maths t = new maths(); Console.ReadLine(); } } What is the result of the following code snippet? interface MyInterface { void myMethod(); } public class MyClass implements MyInterface { public void myMethod() { System.out.println("Implementation"); } public static void main(String[] args) { MyInterface obj = new MyClass(); obj.myMethod(); } } Query design window has two parts. The upper part shows What does the max method do in Ruby enumerators? Which of the following is an event emitter?