C Programming: Printing Person's Name and Age using printf
The printf statement is incomplete and does not print anything. To print the name and age of person A, the printf statement should be:
'printf('Name: %s, Age: %d\n', A.name, A.age);'
This will print 'Name: XiaoTuLing, Age: 11' to the console.
原文地址: https://www.cveoy.top/t/topic/nqVW 著作权归作者所有。请勿转载和采集!