data types to store large numbers in C -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 3 जवाब

मैं एक संख्या को संग्रहित करना चाहता हूँ "x" जहां 0 & lt; = x & lt; = (10 ^ 18)

इस संख्या में बड़ी संख्या में संचय करने के लिए सी में कौन सा डेटाटाइप इस्तेमाल किया जाना चाहिए ?

मैंने "लंबे इंट" का इस्तेमाल किया है लेकिन यह काम नहीं कर रहा है ..

उपयोग करें अहस्ताक्षरित लंबे समय तक int यह C99 या बाद में समर्थित है, और कुछ प्री -1999 कंपाइलर में संकलक एक्सटेंशन के रूप में। और यह कम से कम 1.8 * 10 ^ 1 9 / /> मूल्यों को धारण करने में सक्षम होना चाहिए।


Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -