Computer Science, asked by sukrutht2001, 8 months ago

What is the output for the following code?
#include <stdio.h>
int main()
int arr[3]
arr[0] = 5:
arr[1] = 4;
arr[2] = 8;
for(inti = 0; i< 3; i++)
printf("%d"arr[i]);
سرسره​

Answers

Answered by DebjeetBanerjee
0

Answer:

error because in loop you have written inti instead of int i

Explanation:

if we ignore error then the answer will be 5 4 and 8

Similar questions