Ask Question
18 May, 04:33

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

True

False

+4
Answers (1)
  1. 18 May, 06:10
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers