Looking for CC - P1 - Promo 2029 test answers and solutions? Browse our comprehensive collection of verified answers for CC - P1 - Promo 2029 at moodle.myefrei.fr.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Consider the following instructions. Among the following statements, which one is true?
int * ptr = (int *) malloc(sizeof(int));
*ptr = 21;
In the following program, we assume that all variables are correctly declared and initialized. Which of the following statements is necessarily true?
if (a < b) {
result = a;
} else {
result = b;
}
After executing the following instructions, what are the values of the variables str1 and str2 ?
char str1[100] = "abcd";
char str2[100] = "efgh!";
char * p1 = str1;
char * p2 = str2;
while (*p2 != '\0') p2++;
while (*p1 != '\0') *(p2++) = *(p1++);
*p2 = '\0';
Consider an array of integers tab of size n. Assuming that tab[0] is located at memory address @104, what is the value of int * ptr = tab + n ?
What is the value of ?
Soit le circuit suivant :
Donner l'équation de ce circuit.
Soit le circuit suivant :
Quel circuit est équivalent à ce circuit ?
Soit le circuit suivant :
Quel circuit est équivalent à ce circuit ?
Soit le circuit suivant :
Donner l'équation de ce circuit.
Laquelle de ces équations est équivalente à ?