单项选择题

请读程序:
  # include<stdio.h>
  void fun(int * s)
   static int j=0;
   do
   s[j]+=s[j+1]
  while( + + j<2);
  
  main( )
   int k,a[10]=l,2,3,4,5;
   for(k=l;k<3;k+ +)fun(a);
   for(k=0;k<5;k++)prinf("%d",a[k]);
  
  上面程序的输出结果是 ( )

A.34756
B.23445
C.35745
D.12345