Which of the following function below can be used Allocate space for array in memory?
A. Calloc()
B. Malloc()
C. Recalloc()
D. both A and B
What’s wrong? while ((i<10) && (i>24))
A. The logical operator && can’t be used in test condition
B. The while loop is an exit condition loop
C. The test condition is always false
D. The test condition is always true
Which of the following relationship is known as inheritance relationship?
A. has-a relationship
B. is-a relationship
C. association relationship
D. none of the above
The minimum number of temporary variable needed to swap the contents of 2 variable is:
A. 1
B. 2
C. 3
D. 0
Expression c= i++ causes:
A. value of i assigned to c and then i incremented by 1
B. i to be incremented by 1 and then value of i assigned to c
C. value of i assigned to C
D. i to be incremented by 1