Top

Discussion

What is the output of C program with arrays?

int main() 
{ 
int a[3] = {20,30,40}; 
int b[3]; 
b=a; 
printf("%d", b[0]); 
}

 

  • A.Compiler Error
  • B.Output : 20
  • C.Output : 30
  • D.Output : 0

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment