The function call ____ requests enough memory to store 10 characters.
A. realloc(10,sizeof(char))
B. calloc(sizeof(char),10)
C. malloc(sizeof(char))
D. malloc(10 * sizeof(char))
Answer: D
Computer Science & Information Technology
You might also like to view...
Virtual disks available for adding to a storage pool are listed as part of the primordial pool.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
String firstString = "Oak Maple Pine" String secondString = "spruce Maple elm" ? firstCompare.regionMatches(4, secondString, 7, 5) ? Using the above code, what will be the Boolean value after execution of the regionMatches statement? Explain how the Strings are compared using the regionMatches() method.
What will be an ideal response?
Computer Science & Information Technology