2023 2024 Student Forum > Management Forum > Main Forum

 
  #1  
27th February 2016, 06:11 PM
Unregistered
Guest
 
Ld Format String

Hii sir, I wants to get the Length Modifiers String Format will you please provide me the Full description of the Length Modifiers String Format ?
Similar Threads
Thread
String theory TIFR
TIFR string theory
IIT JEE Format
Format of GRE
MD Format
New GRE Format
GRE Paper Format
APA Format for MBA
MBA Format
MBA CV Format Doc
MBA Report Format
MBA paper format
GRE CBT Format
CV Format for CA
Format of CV
SBI PO Format
JEE Advanced Format
Format of SBI PO exam
RBI KYC Format
IIT JEE New format
  #2  
27th February 2016, 06:11 PM
Super Moderator
 
Join Date: May 2012
Re: Ld Format String

As you asking for the Length Modifiers String Format the descriptions of the String format of the Length Modifiers are given below :
Length modifier
h Length modifier specifying that a following d, o, u, x, or X conversion specifies applies to a short or unsigned short argument.

hh Length modifier specifying that a following d, o, u, x, or X conversion specifier applies to a signed char or unsigned char argument.

l Length modifier specifying that a following d, o, u, x, or X conversion specifier applies to a long or unsigned long argument.

ll, q : Length modifiers specifying that a following d, o, u, x, or X conversion specifier applies to a long long or unsigned long long argument.

L : Length modifier specifying that a following a, A, e, E, f, F, g, or G conversion specifier applies to a long double argument.

z : Length modifier specifying that a following d, o, u, x, or X conversion specifier applies to a size_t or the corresponding signed integer type argument.

t : Length modifier specifying that a following d, o, u, x, or X conversion specifier applies to a ptrdiff_t or the corresponding unsigned integer type argument.

j : Length modifier specifying that a following d, o, u, x, or X conversion specifier
applies to a intmax_t or uintmax_t argument.
The following example illustrates the use of %ld to format an NSInteger and the use of a cast.

NSInteger i = 42;

printf("%ld\n", (long)i);


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 09:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4