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 / chandrashekhar
In turbo c
a::2
2.0::2
GCC
a::4
2.0::2
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Do pointers need to be initialized?
Is c is a procedural language?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
Explain what are the different file extensions involved when programming in c?
What are the data types present in c?
What is the significance of c program algorithms?
Why isn't it being handled properly?
What is the difference between char array and char pointer?
What is a structure member in c?
Can we add pointers together?
What is array in C
What are examples of structures?
Can we increase size of array in c?
What is meant by gets in c?
What are the advantages and disadvantages of a heap?