网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

C语言中,getchar()函数与scanf()函数的区别在于getchar()只能用于字符的输入,而scanf()可以输入任意类型的数据。

此题为判断题(对,错)。


参考答案

更多 “ C语言中,getchar()函数与scanf()函数的区别在于getchar()只能用于字符的输入,而scanf()可以输入任意类型的数据。此题为判断题(对,错)。 ” 相关考题
考题 当用户要求输入的字符串中含有空格时,应使用的输入函数是A)scanf()B)getchar()C)gets()D)getc()

考题 当用户要求输入的字符串中含有空格时,应使用的输入函数是( )。A.scanf()B.getchar()C.gets()D.getc()

考题 当用户要求输入的字符串中含有空格时,应使用的输入函数是A.scanf()B.getchar()C.gets()D.getc()

考题 当用户要求输入的字符串中含有空格时,应使用的输入函数是A.scanf()B.getchar()C.gets()D.Setc()

考题 从键盘上输入某字符串时,可使用的函数是().A.fread()B.fgets()C.getchar()D.scanf () 或 gets()

考题 02610082:在输入时,字符变量的值必须使用空格间隔,其输入函数可为()。A.scanf("%c %c %c",a,b,c);B.scanf("%c,%c,%c",a,b,c);C.scanf("<",a,b,c);D.循环执行getchar()

考题 字符输入函数的一般形式为()A.getchar();B.putchar();C.printf();D.scanf();

考题 可以使用()输入字符型数据。A.putchar(c);B.scanf("%c",c);C.getchar(c);D.getchar();

考题 从键盘上输入某字符串时,可使用的函数是().A.scanf () 或 gets()B.fread()C.fgets()D.getchar()