Шукаєте відповіді та рішення тестів для CC - P1 - Promo 2029? Перегляньте нашу велику колекцію перевірених відповідей для CC - P1 - Promo 2029 в moodle.myefrei.fr.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
Consider the following instructions. Among the following statements, which one is true?
int * ptr = (int *) malloc(sizeof(int));
*ptr = 21;
We want to dynamically allocate space for a string of length n. Among the following statements, which one allows to achieve this?
What is the output of the following program?
#include<stdio.h>
int main() {
int i = 0, j = 0;
char str[10] = "abcdef";
char str2[10];
while (str[i] != '\0') {
i++;
}
str2[i] = '\0';
while (i >= 0) {
str2[--i] = str[j++];
}
printf("%s\n", str2);
return 0;
}
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';
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.
Quelle est la fonction réalisée par ce circuit ?