计算机题目:表达式Right(String(65,Asc("abc")),3)的值,
问题描述:
计算机题目:表达式Right(String(65,Asc("abc")),3)的值,
答
1.Asc("abc")=97 取得"a"的ascii值
2.String(65,Asc("abc"))=String(65,97)=string(65,"a") 即65个a的字符串
3.Right(String(65,Asc("abc")),3)=Right("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")