提交 ae3b47eb 编写于 作者: W wizardforcel

2020-07-10 21:25:09

上级 f5fc3c77
......@@ -112,7 +112,7 @@ printf("%d", *pc); // Output: 5
### 改变指针指向的值
Let's take an example.
让我们举个例子。
```c
int* pc, c;
......
......@@ -69,7 +69,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```kt
Enter operator either +, -, * or /
......
......@@ -38,7 +38,7 @@ date_object = datetime.date.today()
print(date_object)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```py
2018-12-19
......@@ -426,7 +426,7 @@ s2 = now.strftime("%d/%m/%Y, %H:%M:%S")
print("s2:", s2)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```py
time: 04:34:52
......@@ -505,7 +505,7 @@ datetime_London = datetime.now(tz_London)
print("London:", datetime_London.strftime("%m/%d/%Y, %H:%M:%S"))
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```py
Local time: 2018-12-20 13:10:44.260462
......
......@@ -181,7 +181,7 @@ s = time.mktime(t)
print("\s:", seconds)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```py
t1: time.struct_time(tm_year=2018, tm_mon=12, tm_mday=27, tm_hour=15, tm_min=49, tm_sec=29, tm_wday=3, tm_yday=361, tm_isdst=0)
......@@ -225,7 +225,7 @@ time_string = time.strftime("%m/%d/%Y, %H:%M:%S", named_tuple)
print(time_string)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```py
12/28/2018, 09:47:41
......
......@@ -108,7 +108,7 @@ t1.start()
t2.start()
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```py
Hello
......
......@@ -85,7 +85,7 @@ let result = factorial(of: x)
print("The factorial of \(x) is \(result)")
```
When you run the following program, the output will be:
当您运行以下程序时,输出将是:
```swift
The factorial of 4 is 24
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册