0
What is problem
Sir i am trying to learn c language on my behalf with videos But i getting some error in basics when i will try to get data size I don't know where is problem and what is that And explain me also please My code is here #include <stdio.h> int main (){ printf ("int: %d \n", sizeof (int)); printf ("float: %d \n", sizeof (float)); printf ("double: %d \n", sizeof (double)); printf ("char: %d \n", sizeof (char)); return 0; }
4 ответов
+ 2
Replace the format specifier "%d" with either "%ld" or "%lu". This has been answered already.
https://www.sololearn.com/Discuss/2133719/?ref=app
+ 2
https://www.tutorialspoint.com/format-specifiers-in-c
0
I get it
Can you explain sir
What is ld and lu
Some definition
0
Thank you sir