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 / selvapriya

hi frnds...i think my ans is 2,2

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2747


Why does the call char scanf work?

624


What is #line used for?

586


What happens if you free a pointer twice?

619


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1773






What is abstract data structure in c?

535


What is union and structure?

578


What is boolean in c?

617


What does p mean in physics?

593


Linked lists -- can you tell me how to check whether a linked list is circular?

652


Is int a keyword in c?

564


Define macros.

791


What are the primitive data types in c?

582


What is wrong in this statement?

613


Where local variables are stored in c?

562