Find the output?
void main()
{float a=2.0;
printf("\nSize of a ::%d",sizeof(a));
printf("\nSize of 2.0 ::%d",sizeof(2.0));}
Answer Posted / manish soni tagore collage jai
here a as a float so 4bytes
and 2.0 is work as double.
when 2.0f work as a flaot so .
sizeof(2.0f)is 4 byte
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why is c fast?
What is the use of pointers in C?
Why do we use c for the speed of light?
Can you subtract pointers from each other? Why would you?
#include
What are the disadvantages of c language?
what value is returned to operating system after program execution?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What are the storage classes in C?
What are the key features in c programming language?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What are pointers? Why are they used?
Differentiate between Macro and ordinary definition.
What does s c mean in text?
Can you assign a different address to an array tag?