0

%lu , %ld

why do we use the above 2 types in c language? I know %d, %c , %f and %c . but I don't know %lu and %ld. which data types get them?

6th Jul 2022, 4:32 PM
Piyumi Nadeesha Weerarathna
Piyumi Nadeesha Weerarathna - avatar
3 Respuestas
7th Jul 2022, 2:42 AM
zexu knub
zexu knub - avatar
+ 1
%lu is long unsigned int & %ld is for long int specifier
6th Jul 2022, 4:49 PM
zexu knub
zexu knub - avatar
0
zexu knub thank you sir❤️
7th Jul 2022, 1:04 AM
Piyumi Nadeesha Weerarathna
Piyumi Nadeesha Weerarathna - avatar