0

Printf("%d\n",sizeof(volatile)); Printf("%d\n",sizeof(constant));Printf("%d\n",sizeof(unsigned)); Printf("%d\n",sizeof(signed));

What are the answers for this?

9th Jul 2019, 6:56 AM
sameer
sameer - avatar
1 Resposta
+ 4
Why not paste the snippet on a new C code, then run it in Code Playground to see the result. Some notes: * `sizeof` returns an unsigned long long (64bit integer) use of %d is rather inappropriate. * `constant` is not recognized as a type from which you can do size test. * `Printf` should've been `printf`, a minor typo, but will still prevent the code from running. Hth, cmiiw
9th Jul 2019, 7:11 AM
Ipang