Please help me to solve TIA

<img src=”https://files.transtutors.com/cdn/qimg/64d3bda0db3a48e1a77a25cbbcf20fd7.jpg” alt=”2. What is the output from the following C code? :void fName () int x, i; x 1; 2 for (i 1; i<10; i++) if (i
4. What is the output of the following C code? int main (void) int arr (1, 2, 5, 3, 10, 4) int counter arr[4]; 0; int number 2. What is the output from the following C code? :void fName () int x, i; x 1; 2 for (i 1; i4. What is the output of the following C code? int main (void) int arr (1, 2, 5, 3, 10, 4) int counter arr[4]; 0; int number while (counter> arr[2)) counter – 1 number +arr [counter]; prilf(“number- td In”, number); return (0) 5. The following C function contains 6 syntax errors, identify them and write the correct statements. double final Exam_Q 1_5 ( ) ( int x; i x2 for (i-1 i



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *