Computer Science, asked by krishnasangeeth07, 7 months ago

iv) Have a look at the following piece of code, state and explain the output.

#include <stdio.h>

int fun(){
static int i;
i++;
return i;
}

int main(void) {
// your code goes here
int a[5] = {1, 2, 3, fun(), 5};
printf("%d", a[3]);
return 0;
}

Attachments:

Answers

Answered by kanavkhajuria
0

Answer:

rtk man ..... plz mark brainlist

Similar questions