Posted 2019-07-09Updated 2022-07-04Learning-Note-學習筆記a few seconds read (About 44 words)型態轉換 (Type Casting)型態轉換 教學與筆記。 說明依據 ASCII 碼進行轉換。 char 轉 int12char c = 'A';int num = (int)(c); // 65 int 轉 char12int a = 97;char c = (char)(a); // a型態轉換 (Type Casting)https://meowlucian.github.io/C/Basic/Type-Casting/AuthorMeow LucianPosted on2019-07-09Updated on2022-07-04Licensed under#CodeC