PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम Data Type Modifiers in C: signed, unsigned, short, long (डेटा टाइप मॉडिफायर्स: signed, unsigned, short, long का प्रभाव) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।
Overview: C provides four type modifiers—signed, unsigned, short, and long (plus C99 long long)—to customize the storage width and sign interpretation of primary integer types and long double. Modifiers double the positive range when unsigned reallocates the sign bit, enforce strict wraparound vs signed overflow Undefined Behavior rules, and adapt long between Windows LLP64 (4B) and Linux LP64 (8B) models.
अध्याय सार: C में चार डेटा टाइप मॉडिफायर्स—signed, unsigned, short और long (तथा C99 का long long)—होते हैं जो मूल पूर्णांक प्रकारों (एवं long double) की बाइट चौड़ाई और चिह्न (Sign Bit) की व्याख्या को नियंत्रित करते हैं। unsigned साइन बिट को मान में बदलकर सकारात्मक रेंज दोगुनी करता है, जबकि 64-बिट प्लेटफॉर्म पर long का आकार Windows (4 बाइट) व Linux (8 बाइट) में अलग रहता है।
Data Type Modifiers in C: signed, unsigned, short, long: Detailed Notes & Architecture (डेटा टाइप मॉडिफायर्स: signed, unsigned, short, long का प्रभाव)
1. Sign Modifiers (signed vs unsigned) & Overflow Semantics (साइन मॉडिफायर्स (signed बनाम unsigned) और ओवरफ्लो नियम)
[EN] By default, short, int, long, and long long are implicitly signed: their Most Significant Bit (MSB) acts as the sign bit under Two's Complement, giving n-bit range -2^(n-1) to 2^(n-1) - 1. Applying unsigned converts all n bits to magnitude bits (range 0 to 2^n - 1), doubling the positive maximum (e.g., 16-bit unsigned short reaches 65,535 vs 32,767). Critically, ISO C specifies that unsigned integer overflow wraps cleanly modulo 2^n (255u + 1u == 0 for 8-bit unsigned char), whereas signed integer overflow is Undefined Behavior (UB) enabling aggressive compiler assumptions.
[HI] डिफ़ॉल्ट रूप से short, int, long व long long सभी signed होते हैं, जहाँ सबसे बायाँ बिट (MSB) चिह्न के लिए आरक्षित रहता है। unsigned लगाने पर वह बिट भी संख्या का भाग बन जाता है, जिससे सकारात्मक सीमा दोगुनी हो जाती है (जैसे 8-बिट में 0..255)। विशेष नियम यह है कि unsigned ओवरफ्लो मॉड्यूलो 2^n से सुरक्षित लूप (Wraparound) करता है, जबकि signed ओवरफ्लो अपरिभाषित व्यवहार (UB) माना जाता है।
2. Size Modifiers (short, long, long long) & LP64 vs LLP64 (साइज मॉडिफायर्स (short, long, long long) और 64-बिट डेटा मॉडल्स)
[EN] Size modifiers permit omitting 'int' (e.g., 'short' means 'short int'; 'unsigned long' means 'unsigned long int'). Standard C requires short >= 16 bits (typically 2 bytes), long >= 32 bits, and C99 long long >= 64 bits (8 bytes, up to 1.84e19 unsigned). Crucially, on 64-bit Windows (LLP64 model), long remains 4 bytes for legacy compatibility, whereas on 64-bit Linux/macOS/Unix (LP64 model), long expands to 8 bytes! Consequently, portable 64-bit integers must use long long or <stdint.h> int64_t.
[HI] short, long और long long के साथ 'int' लिखना वैकल्पिक है (जैसे short = short int)। मानक के अनुसार short >= 16 बिट (प्रायः 2 बाइट), long >= 32 बिट और C99 का long long >= 64 बिट (8 बाइट) होता है। 64-बिट Windows (LLP64) में long केवल 4 बाइट रहता है, जबकि 64-बिट Linux/macOS (LP64) में long 8 बाइट का हो जाता है।
3. Permitted vs Illegal Modifier Combinations (मान्य बनाम अमान्य मॉडिफायर संयोजन (Common Exam Traps))
[EN] Not every modifier pairs with every primary type. Sign modifiers (signed/unsigned) apply ONLY to char and integer types (short, int, long, long long); writing 'unsigned float' or 'signed double' is a compile-time error. Size modifiers (short/long) CANNOT modify char or float: 'short char', 'short float', 'long float', and 'short double' are all illegal in ANSI/ISO C (long float was dropped from pre-ANSI K&R C). The sole modified floating type in C is 'long double' (typically 80-bit extended precision in 12 or 16 bytes on x86-64 GCC, or 8 bytes on MSVC).
[HI] signed और unsigned केवल char व पूर्णांक प्रकारों पर ही लागू होते हैं—'unsigned float' या 'signed double' सिंटैक्स एरर देते हैं। इसी तरह 'short char', 'long float' और 'short double' मानक C में अमान्य हैं (क्योंकि C89 ने पुराने long float को हटा दिया)। दशमलव प्रकारों में केवल 'long double' ही एकमात्र वैध मॉडिफाइड टाइप है।
4. Format Specifiers & The (-1 < 1U) Conversion Trap (फॉर्मेट स्पेसिफायर्स और (-1 < 1U) इम्प्लिसिट कन्वर्जन जाल)
[EN] Every modifier combination demands its exact format specifier: %hd (short), %hu (unsigned short), %u (unsigned int), %ld (long), %lu (unsigned long), %lld (long long), %llu (unsigned long long), and %Lf (long double). Mixing signed and unsigned operands triggers C's Usual Arithmetic Conversions: in 'int s = -1; unsigned int u = 1U; (s < u)', the signed -1 converts to unsigned int (UINT_MAX = 4,294,967,295 on 32-bit), making (-1 < 1U) evaluate surprisingly to FALSE (0)!
[HI] सही स्पेसिफायर उपयोग करना अनिवार्य है: %hd (short), %u (unsigned int), %ld (long), %lld (long long) और %Lf (long double)। यदि किसी तुलना में signed व unsigned एक साथ आएं—जैसे (-1 < 1U)—तो Usual Arithmetic Conversion के कारण -1 स्वतः बहुत बड़े unsigned मान (UINT_MAX) में बदल जाता है और (-1 < 1U) का उत्तर FALSE (0) प्राप्त होता है!
Syntax, Formula & Technical Example (Data Type Modifiers in C: signed, unsigned, short, long)
#include <stdio.h>
int main(void) {
unsigned char uc = 255;
uc = uc + 1; /* Defined modulo wraparound: 256 % 256 -> 0 */
int s = -1;
unsigned int u = 1U;
printf("uc=%u | (-1 < 1U) = %d\n", uc, (s < u)); /* Output: uc=0 | 0 */
printf("short=%zuB long=%zuB llong=%zuB ldouble=%zuB\n",
sizeof(short), sizeof(long), sizeof(long long), sizeof(long double));
return 0;
}
Data Type Modifiers in C: signed, unsigned, short, long Quick Reference & Comparison Table
| Modified Type | Minimum Guaranteed Bits & Range | Specifier & Critical Rule |
|---|---|---|
| unsigned short | 16 bits min (2B): 0 to 65,535 | %hu; omits 'int' legally; safe modulo wrap |
| unsigned int | 16 bits min (4B typical): 0 to 4,294,967,295 | %u; converts negative signed peers in comparisons |
| long int | 32 bits min (4B Win64 LLP64, 8B Linux LP64) | %ld; width varies across 64-bit operating systems |
| long long / long double | long long >= 64b (8B); long double >= 64/80b | %lld / %Lf; long float & short double are ILLEGAL |
Data Type Modifiers in C: signed, unsigned, short, long Top 20 Bilingual MCQs with Answers
Q1. What are the four classic data type modifiers in ANSI C (plus the C99 extension)?
(ANSI C में चार पारंपरिक डेटा टाइप मॉडिफायर्स (तथा C99 विस्तार) कौन से हैं?)
(A) public, private, protected, friend
(B) auto, static, extern, register
(C) const, volatile, restrict, inline
(D) signed, unsigned, short, long (plus C99 long long)
Correct Answer: (D)
[EN] The four ANSI C modifiers alter width/sign of primitive types, while auto/static/extern/register are storage classes.
[HI] signed, unsigned, short और long डेटा टाइप मॉडिफायर्स हैं (तथा C99 ने long long जोड़ा), जबकि auto/static स्टोरेज क्लासेस हैं।
Q2. For an n-bit unsigned integer type, what is the exact representable range of values?
(n-बिट वाले unsigned पूर्णांक डेटा प्रकार की सटीक मान सीमा (Range) क्या होती है?)
(A) -2^n to 2^n
(B) 0 to (2^n) - 1
(C) 1 to 2^n
(D) -2^(n-1) to 2^(n-1) - 1
Correct Answer: (B)
[EN] Because all n bits carry positive weights 2^0..2^(n-1) with no sign bit, the smallest value is 0 and largest is 2^n - 1.
[HI] साइन बिट न होने के कारण सभी n बिट्स धनात्मक मान दर्शाते हैं, जिससे रेंज 0 से 2^n - 1 तक होती है।
Q3. What does the C expression '(-1 < 1U)' evaluate to on standard ISO C compilers?
(मानक ISO C कंपाइलरों पर व्यंजक '(-1 < 1U)' का मान क्या प्राप्त होता है?)
(A) 0 (False), because -1 converts to UINT_MAX (e.g., 4294967295U)
(B) Undefined runtime crash
(C) Compile-time error: cannot compare signed and unsigned
(D) 1 (True), because -1 is mathematically smaller than 1
Correct Answer: (A)
[EN] When int and unsigned int (same rank) meet in a relational check, signed int promotes to unsigned int, turning -1 into UINT_MAX > 1U.
[HI] एक समान रैंक के signed int और unsigned int की तुलना में -1 को unsigned में बदला जाता है (UINT_MAX), इसलिए (-1 < 1U) FALSE (0) हो जाता है।
Q4. If 'unsigned char ch = 250;' is incremented by 10 ('ch = ch + 10;'), what value does ch hold on an 8-bit char system?
(यदि 8-बिट सिस्टम पर 'unsigned char ch = 250;' में 10 जोड़ा जाए ('ch = ch + 10;'), तो ch में क्या मान बचेगा?)
(A) 255 (saturates at max)
(B) 260
(C) 4
(D) -252
Correct Answer: (C)
[EN] ISO C defines unsigned arithmetic modulo 2^8 (256): (250 + 10) % 256 = 260 % 256 = 4.
[HI] unsigned अंकगणित मॉड्यूलो 2^8 (256) नियम से लपेटता है, अतः 260 % 256 = 4 संग्रहीत होगा।
Q5. Which modifier combination is VALID in standard ISO C?
(मानक ISO C में निम्नलिखित में से कौन सा मॉडिफायर संयोजन वैध (Valid) है?)
(A) long float
(B) short char
(C) unsigned float
(D) long double
Correct Answer: (D)
[EN] ANSI C89 removed K&R's 'long float' and forbids unsigned/signed on floating types or short/long on char; only 'long double' is valid for floats.
[HI] दशमलव प्रकारों में केवल long double ही वैध है; long float, unsigned float और short char कंपाइल त्रुटि देते हैं।
Q6. How does signed integer overflow differ from unsigned integer overflow in the ISO C standard?
(ISO C मानक में signed पूर्णांक ओवरफ्लो और unsigned पूर्णांक ओवरफ्लो के बीच क्या मुख्य अंतर है?)
(A) Unsigned overflow is strictly defined as modulo 2^n wraparound, whereas signed overflow is Undefined Behavior (UB)
(B) Both signed and unsigned wrap around cleanly identically
(C) Both trigger automatic exception handling
(D) Unsigned overflow halts the program while signed wraps around
Correct Answer: (A)
[EN] Compilers optimize aggressively assuming signed overflow never happens, whereas unsigned wraparound is deterministic and portable.
[HI] unsigned ओवरफ्लो सदैव मॉड्यूलो 2^n नियम का पालन करता है, जबकि signed ओवरफ्लो अपरिभाषित व्यवहार (UB) होने से बग पैदा कर सकता है।
Q7. What is the size of 'long int' on 64-bit Windows (LLP64) versus 64-bit Linux (LP64)?
(64-बिट Windows (LLP64) और 64-बिट Linux (LP64) पर 'long int' का आकार क्रमशः कितना होता है?)
(A) 2 bytes on Windows, 4 bytes on Linux
(B) 8 bytes on Windows, 4 bytes on Linux
(C) 4 bytes on 64-bit Windows, 8 bytes on 64-bit Linux
(D) 8 bytes on both identically
Correct Answer: (C)
[EN] Microsoft kept long at 32 bits (LLP64) to preserve Win32 struct compatibility, while Unix/Linux adopted LP64 making long and pointers 64-bit.
[HI] Win32 संगतता के कारण 64-बिट Windows में long 4 बाइट रहता है, जबकि 64-बिट Linux (LP64) में यह 8 बाइट का होता है।
Q8. Which printf format specifier matches 'unsigned long long int'?
('unsigned long long int' वेरिएबल प्रिंट करने के लिए सही printf फॉर्मेट स्पेसिफायर कौन सा है?)
(A) %Lf
(B) %u
(C) %llu
(D) %ld
Correct Answer: (C)
[EN] %u prints unsigned int, %ld prints signed long, %Lf prints long double, and %llu prints unsigned long long.
[HI] %llu का उपयोग unsigned long long के लिए, %ld का signed long के लिए और %Lf का long double के लिए होता है।
Q9. Why is writing 'unsigned x = 50;' without the keyword 'int' completely valid in C?
(C में 'int' लिखे बिना केवल 'unsigned x = 50;' लिखना पूर्णतः वैध क्यों होता है?)
(A) Only in C++ and not in C
(B) Because x becomes a float automatically
(C) When short, long, signed, or unsigned appears without a base type, C implicitly assumes int
(D) Because unsigned defaults to char
Correct Answer: (C)
[EN] Short-hands like 'short', 'unsigned', 'long', and 'long long' all imply 'int' unless paired with char or double.
[HI] जब short, long, signed या unsigned अकेले प्रयोग हों तो C स्वतः उनके साथ int मान लेता है।
Q10. What is the minimum number of bits guaranteed by ISO C99 for 'long long int'?
(ISO C99 मानक द्वारा 'long long int' के लिए न्यूनतम कितने बिट्स की गारंटी दी गई है?)
(A) 32 bits (4 bytes)
(B) 64 bits (8 bytes)
(C) 128 bits (16 bytes)
(D) 16 bits (2 bytes)
Correct Answer: (B)
[EN] C99 introduced long long specifically so programmers always had a 64-bit (minimum) integer type everywhere.
[HI] C99 में long long को इसलिए जोड़ा गया ताकि हर प्लेटफॉर्म पर कम से कम 64-बिट (8 बाइट) पूर्णांक उपलब्ध हो सके।
Q11. If plain 'char' on x86 defaults to signed char (-128..127), how does declaring 'unsigned char' change its range?
(यदि x86 सिस्टम पर साधारण 'char' डिफ़ॉल्ट रूप से -128 से +127 रखता है, तो 'unsigned char' की रेंज क्या हो जाती है?)
(A) -255 to +255
(B) 0 to 127
(C) -64 to +63
(D) 0 to 255
Correct Answer: (D)
[EN] Reclaiming the MSB sign bit doubles the positive limit of an 8-bit char from 127 to 255.
[HI] MSB साइन बिट को मान बिट बनाने से 8-बिट unsigned char की रेंज 0 से 255 तक हो जाती है।
Q12. Which format specifier is specifically used to read or print a 'short int'?
('short int' मान को पढ़ने या प्रिंट करने के लिए विशेष रूप से कौन सा फॉर्मेट स्पेसिफायर उपयोग होता है?)
(A) %ld
(B) %sd
(C) %hu
(D) %hd
Correct Answer: (D)
[EN] The 'h' length modifier stands for half/short: %hd for signed short and %hu for unsigned short.
[HI] लेंथ मॉडिफायर 'h' short को दर्शाता है: signed short के लिए %hd और unsigned short के लिए %hu प्रयुक्त होता है।
Q13. Why should programmers explicitly write 'signed char' or 'unsigned char' when storing raw small integers (-10 or 200) inside a byte?
(बाइट में छोटे पूर्णांक (-10 या 200) संग्रहीत करते समय केवल 'char' के बजाय स्पष्ट 'signed char' या 'unsigned char' लिखना क्यों बेहतर है?)
(A) Because plain 'char' is 2 bytes on Linux
(B) Because plain 'char' only accepts digits '0'-'9'
(C) Because plain 'char' cannot participate in arithmetic
(D) Because plain 'char' signedness is implementation-defined (signed on x86, unsigned on ARM)
Correct Answer: (D)
[EN] Writing 'char x = -1;' fails subtly if ported to an architecture where plain char is unsigned (turning -1 into 255).
[HI] साधारण char सिस्टम के अनुसार signed (x86) या unsigned (ARM) हो सकता है, अतः संख्यात्मक उपयोग हेतु स्पष्ट रूप से signed/unsigned लिखना सुरक्षित है।
Q14. Which of the following modifier declarations will produce a COMPILE-TIME ERROR in standard ISO C?
(मानक ISO C में निम्नलिखित में से किस घोषणा से कंपाइल-टाइम त्रुटि (Error) उत्पन्न होगी?)
(A) short signed int temp = -20;
(B) signed double rate = 5.5;
(C) unsigned long int pop = 8000000000UL;
(D) long double pi = 3.141592653589793238L;
Correct Answer: (B)
[EN] Floating-point types (float, double, long double) are always signed and cannot take the 'signed' or 'unsigned' keywords.
[HI] दशमलव प्रकारों (float/double) के साथ signed या unsigned कीवर्ड लगाना मानक C में अमान्य है।
Q15. If a 16-bit microcontroller compiler defines int as 2 bytes, what is the range of 'signed int' vs 'unsigned int'?
(यदि 16-बिट माइक्रोकंट्रोलर कंपाइलर में int 2 बाइट का हो, तो 'signed int' बनाम 'unsigned int' की रेंज क्या होगी?)
(A) signed: -65,536 to 65,535 | unsigned: 0 to 131,071
(B) signed: -32,768 to 32,767 | unsigned: 0 to 65,535
(C) signed: -128 to 127 | unsigned: 0 to 255
(D) signed: -32,767 to 32,768 | unsigned: 0 to 65,536
Correct Answer: (B)
[EN] For n = 16 bits: signed covers -2^15 (-32,768) to 2^15 - 1 (32,767), and unsigned covers 0 to 2^16 - 1 (65,535).
[HI] 16 बिट्स के लिए signed रेंज -32,768 से 32,767 और unsigned रेंज 0 से 65,535 होती है।
Q16. Which statement about Data Type Modifiers in C is FALSE?
(C में डेटा टाइप मॉडिफायर्स के बारे में निम्नलिखित में से कौन सा कथन असत्य (FALSE) है?)
(A) Applying 'short' to 'double' (short double) creates a 4-byte float identically to 'float'
(B) 'long' is guaranteed by ISO C to be at least as wide as 'int'
(C) 'unsigned' increases the maximum positive value of an integer type
(D) Signed integer overflow causes Undefined Behavior in C
Correct Answer: (A)
[EN] 'short double' is completely illegal syntax in C; only 'float', 'double', and 'long double' exist for floating point.
[HI] 'short double' मानक C में अमान्य सिंटैक्स है; दशमलव के लिए केवल float, double और long double होते हैं।
Q17. Within Data Type Modifiers in C: signed, unsigned, short, long, which modified type directly maps to: "16 bits min (2B): 0 to 65,535"?
(Data Type Modifiers in C: signed, unsigned, short, long में कौन सा Modified Type सीधे "16 bits min (2B): 0 to 65,535" से संबंधित है?)
(A) unsigned short
(B) long int
(C) long long / long double
(D) unsigned int
Correct Answer: (A)
[EN] In Data Type Modifiers in C: signed, unsigned, short, long, 'unsigned short' handles '16 bits min (2B): 0 to 65,535' (%hu; omits 'int' legally; safe modulo wrap).
[HI] Data Type Modifiers in C: signed, unsigned, short, long में 'unsigned short' का कार्य/विवरण '16 bits min (2B): 0 to 65,535' (%hu; omits 'int' legally; safe modulo wrap) है।
Q18. Which option accurately describes 'unsigned int' in Data Type Modifiers in C: signed, unsigned, short, long?
(Data Type Modifiers in C: signed, unsigned, short, long के संदर्भ में 'unsigned int' की सही विशेषता कौन सी है?)
(A) long long >= 64b (8B); long double >= 64/80b
(B) 16 bits min (2B): 0 to 65,535
(C) 16 bits min (4B typical): 0 to 4,294,967,295
(D) 32 bits min (4B Win64 LLP64, 8B Linux LP64)
Correct Answer: (C)
[EN] 'unsigned int' provides '16 bits min (4B typical): 0 to 4,294,967,295' — key point: %u; converts negative signed peers in comparisons.
[HI] 'unsigned int' का मुख्य विवरण '16 bits min (4B typical): 0 to 4,294,967,295' है (%u; converts negative signed peers in comparisons)।
Q19. In Data Type Modifiers in C: signed, unsigned, short, long, identify the correct parameter for the specification: "32 bits min (4B Win64 LLP64, 8B Linux LP64)".
(Data Type Modifiers in C: signed, unsigned, short, long में "32 bits min (4B Win64 LLP64, 8B Linux LP64)" विवरण किस विकल्प के लिए सही है?)
(A) unsigned int
(B) unsigned short
(C) long long / long double
(D) long int
Correct Answer: (D)
[EN] 'long int' corresponds to '32 bits min (4B Win64 LLP64, 8B Linux LP64)' (%ld; width varies across 64-bit operating systems).
[HI] 'long int' का संबंध '32 bits min (4B Win64 LLP64, 8B Linux LP64)' (%ld; width varies across 64-bit operating systems) से है।
Q20. Considering Data Type Modifiers in C: signed, unsigned, short, long, what key behavior defines 'long long / long double'?
(Data Type Modifiers in C: signed, unsigned, short, long में 'long long / long double' की मुख्य भूमिका या मान क्या है?)
(A) 16 bits min (4B typical): 0 to 4,294,967,295
(B) 16 bits min (2B): 0 to 65,535
(C) 32 bits min (4B Win64 LLP64, 8B Linux LP64)
(D) long long >= 64b (8B); long double >= 64/80b
Correct Answer: (D)
[EN] 'long long / long double' represents 'long long >= 64b (8B); long double >= 64/80b' (%lld / %Lf; long float & short double are ILLEGAL).
[HI] 'long long / long double' का अर्थ/मान 'long long >= 64b (8B); long double >= 64/80b' है (%lld / %Lf; long float & short double are ILLEGAL)।
Data Type Modifiers in C: signed, unsigned, short, long — Exam FAQs
Q1: Why did (-1 < 1U) evaluate to FALSE (0) in C?
C में (-1 < 1U) का परिणाम FALSE (0) क्यों आता है?
[EN] Under C's Usual Arithmetic Conversions, when a signed int and unsigned int of equal conversion rank appear in a binary operation, the signed operand is converted to unsigned int. Thus -1 turns into UINT_MAX (all 1-bits), which is vastly greater than 1U.
[HI] C के Usual Arithmetic Conversions नियम के अनुसार समान रैंक वाले signed int व unsigned int की तुलना में signed मान (-1) को unsigned (UINT_MAX) में बदल दिया जाता है, जो 1 से बड़ा होने से शर्त असत्य हो जाती है।
Q2: Why is 'long' 4 bytes on 64-bit Windows yet 8 bytes on 64-bit Linux?
64-बिट Windows पर long 4 बाइट और 64-बिट Linux पर 8 बाइट का क्यों होता है?
[EN] 64-bit Windows uses the LLP64 data model (only pointers and long long are 64-bit) so older Win32 APIs stay compatible; 64-bit Linux/macOS follow LP64 (long and pointers are 64-bit). Always use long long or int64_t when you need 64 bits portably.
[HI] Windows ने पुरानी Win32 संगतता के लिए LLP64 मॉडल अपनाया जिसमें केवल पॉइंटर व long long 64-बिट होते हैं, जबकि Linux/macOS के LP64 मॉडल में long भी 64-बिट (8 बाइट) का होता है।
Q3: Can you combine multiple modifiers together on one variable, like 'unsigned long long int'?
क्या एक ही वेरिएबल पर एक से अधिक मॉडिफायर्स (जैसे unsigned long long int) एक साथ लगा सकते हैं?
[EN] Yes—sign modifiers (signed/unsigned) combine legally with one size modifier (short, long, or long long), e.g., unsigned short int or signed long long int, in any order before the variable name.
[HI] हाँ—एक साइन मॉडिफायर (signed/unsigned) को एक साइज मॉडिफायर (short, long, long long) के साथ मिलाकर उपयोग किया जा सकता है, जैसे unsigned short या unsigned long long int।
Post a Comment
Post a Comment