嗨可能是一个简单的问题 [英] hi may be it is a simple question

查看:67
本文介绍了嗨可能是一个简单的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么数字数组不会以''\0''结尾。

why numeric arrays don''t end with a ''\0''.

推荐答案


为什么数字数组不会以''\0''结尾。
why numeric arrays don''t end with a ''\0''.



嗯,你的猜测是什么?


提示:你平均使用的数字有多大90%天?你使用的句子有多大?

Well, what is your guess?

Hint: how big are 90% of the numbers you use in an average day? How big are the sentences you use?



提示:你平均每天使用的数字有多大?你使用的句子有多大?
Hint: how big are 90% of the numbers you use in an average day? How big are the sentences you use?



答案是四,一二十二。

Answer is four, and eleventy-two.


零是有效数字。如果它意味着数字数组的结尾,那么你就不能使用零来表示数据。不好。


但是在字符的情况下,没有char的值为0.好的,为什么他们不使用1,因为没有char的值为1 。 我不知道。我当时不在那里。
Zero is a valid number. If it means the end of the numeric array then you couldn''t use zero for data. Not good.

In the case of chars, though, no char has a value of 0. OK, so why didn''t they use 1 since no char has a value of 1. I don''t know. I wasn''t there at the time.


这篇关于嗨可能是一个简单的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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