返回的价值是多少? [英] What value does return is returning?

查看:92
本文介绍了返回的价值是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些回报价值的差异是什么回报?



我尝试了什么:



whats difference in these return value what does it return?

What I have tried:

return "@";
    return '@';
    char c='@';
    return c;

推荐答案

显然C编码101.

建议正确学习C语言。



以下是该语言作者对C语言参考书的链接。

C编程语言 - 维基百科,免费的百科全书 [ ^ ]

https:// hassanolity .files.wordpress.com / 2013/11 / the_c_programming_language_2.pdf [ ^ ]

http://www.ime.usp.br/~pf/Kernighan-Ritchie/C-Programming-Ebook.pdf [ ^ ]
Obviously C coding 101.
Advice learn properly C language.

Here is links to references books on C by the authors of the language.
The C Programming Language - Wikipedia, the free encyclopedia[^]
https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2.pdf[^]
http://www.ime.usp.br/~pf/Kernighan-Ritchie/C-Programming-Ebook.pdf[^]


为什么非常基本的问题?对我来说听起来像是一个家庭作业问题...



char(单字符)值和字符串(字符串)值。
Why the very basic questions? Sounds like a homework question to me...

char (single character) value and string (string of characters) value.


这篇关于返回的价值是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆