What will be the output of the following JavaScript code?
<script>
var string1=[1,2,3];
var string2=[4,5,6,7,8,9,10];
var result=string1.concat(string2);
document.writeln(result);
</script>
a) 1, 2, 3
b) Error
c) It will concatenate both the stings and print as 1, 2, 3, 4, 5, 6, 7, 8, 9 ,10
d) It will print nothing