Ask Question
1 May, 05:13

Using static arrays, depending on the number of servers specified by the user, a list of servers is created during program execution.

True

False

+3
Answers (1)
  1. 1 May, 08:51
    0
    False

    Explanation:

    Static arrays are stored on the stack, having fixed size and scope within functions.

    Example-

    int arr[10];

    Static arrays can't update the values given by the user at the time of execution, they are initialized with some default values. So, we can't create list of servers at the time of program execution.

    But we can create list of servers using Dynamic arrays, because size is not fixed as it stores in heap and update at the time of execution.

    Example-

    int * arr = new int[10];

    delete[] arr;
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Using static arrays, depending on the number of servers specified by the user, a list of servers is created during program execution. True ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers