【简答题】下面程序运行后,输出的结果为【 】。 Private Sub Command1_Click( ) Dim A as String , B as String , C as String A = ′′Beijing′′ B = ′′dalian′′ C = ′′shanghai′′ C = InStr(Left(A ,2 ) + Right(B , 2) , C) Print C End Sub
【单选题】下面程序运行后输出的结果为( ) int abc(int u, int v); main( ) { int a = 24, b = 16, c; c = abc(a, b); printf("%d\n", c); } int abc(int u, int v) { int w; while (v) { w = u%v; u = v; v = w; } return u; }