What will be output of the following “c” code?
		
					

Loading

โœช Choose the correct option.

What will be output of the following “c” code?


#include
void main()
{
int i, a[50]={1,2,3,4,5};
for( i=0; i<5; i++)
printf("%d",*a++);
}

A. 1 2 3 4 5
B. 2 3 4 5 6
C. CompilationEerror: lvalue required as increment operand
D. None of these