“长整数”,“长长”资料类型 [英] "long int", "long long" Data Types

查看:88
本文介绍了“长整数”,“长长”资料类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些新数据类型的目的是什么?我通常只使用 int或 long,但是为什么存在这些呢?它们带来什么新功能或目的?

What is the purpose of these new data types? I will normally just use an "int" or a "long" but why do these exist? What new function or purpose do they bring?

推荐答案

long int 一直是<$ c的全名$ c> long ,很少使用。

long long 一段时间(在最新的C标准中),并保证至少64位大小(仅保证32位)。

long long has been around for a while (in last C standard), and guarantees at least 64bit size (long only guarantees 32bits).

这篇关于“长整数”,“长长”资料类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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