定义一个字符串数组:char a[1024] = "Welcome to China!" 要计算上述字符串的长度,应该使用下列哪个函数( )。
strcat()
strcmp()
strlen()
size()