Computer Science Archive: Questions from October 09, 2022
-
\[ \begin{array}{l} x=1, y=2 \\ x=2, y=2 \\ x=2, y=2 \end{array} \] Question 14 (4 points) Complete the following C's for loop header for \( (x=0, y=1 ; x2 answers -
Question 13 (2 points) What will be the output of the following piece of code in \( \mathrm{C}++ \) ? \( x=1, y=3 \)2 answers -
¿Cuales de las siguientes son definiciones validas de arreglos on \( \mathrm{C}++ \) ? a) int num \( [5\}=\{0,0,1,0,0,1,0,0,1,1\} \); b) int matrix \( \{10]=\{1,2,3,-4,-5,6,-7\} \); c) double radili2 answers -
Considere que se tiene la siguiente función: void FunD (char stri]) \{ stu[0] = ' '\$; str[1] \( = \) ' \( \$ ' \) str \( [2]=1 \$ ' \) \} Si se llama a la función FunD anterior, como se muestra en2 answers -
Considere que se tiene la siguiente función: //Función MultArrayElements int MultArrayElements(int a[], int \( n \) ) \{ \[ \begin{array}{l} \text { int } \mathrm{i}, \text { mult; } \\ \text { mult2 answers -
2 answers
-
2 answers
-
2 answers
-
1 answer