#include stdio.h
void func(int a[])
{
int i;
for(i = 0; i = 2; i++)
printf("%d ", a[i]);
}

int main()
{
int a[] = {1, 2, 3, 4, 5};
func(a);
return 0;
}

What is the Output of the following c program code

Posted on by