What would be the output of the following code (in editor window)? [code]a=1:5 ; c=a.^2[/code]

What would be the output of the following code (in editor window)?
Code:
a=1:5	;	c=a.^2
A. [1 25]
B. [1 2 3 4 5]
C. [25 16 9 4 1]
D. [1 4 9 16 25]
 

Tìm kiếm

Back
Top