最新回答 / 米?朵
char(字符型)的標志是' '。一個字符通常占用1byte(1字節)的存儲空間 ?string(字符串型) 標志為" ",通常為兩個或以上字符組成。而一個中文字符是占用2byte的存儲空間的 ?只有在使用單個的字母的時候才可以用' '單引號引出哦 這里涉及到系統分配占用空間的問題。這里的,是全角狀態下的 占用2個字節 所以要給它字符串型。
2016-08-07
最新回答 / Arsennnic
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{? ? class Program? ? {? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? int N = 3, temp;? ? ? ? ? ? int[...
2016-08-05