瀏覽代碼

Updates README-en.md

Auto commit by GitBook Editor
Rafael Arce Nazario 8 年之前
父節點
當前提交
a6e77febfa
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      README-en.md

+ 2
- 2
README-en.md 查看文件

162
 
162
 
163
 **Examples of Invalid Function Headers:**
163
 **Examples of Invalid Function Headers:**
164
 
164
 
165
-1. `int example(int var1=1, float var2, int var3)` This header is invalid because the default values can only be assigned starting from the rightmost parameter.
165
+1. `int example(int var1 = 1, float var2, int var3)` This header is invalid because the default values can only be assigned starting from the rightmost parameter.
166
 
166
 
167
-2. `int example(int var1=1, float var2, int var3=10)` This header is invalid because you can't place parameters without values between other parameters with default values. In this case, `var2` doesn't have a default value but `var1` and `var3` do.
167
+2. `int example(int var1 = 1, float var2, int var3 = 10)` This header is invalid because you can't place parameters without values between other parameters with default values. In this case, `var2` doesn't have a default value but `var1` and `var3` do.
168
 
168
 
169
 ---
169
 ---
170
 
170