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

Size of a ::4
Size of 2.0 ::8

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it fine to write void main () or main () in c?

549


Can the sizeof operator be used to tell the size of an array passed to a function?

622


What is the 'named constructor idiom'?

643


Differentiate between declaring a variable and defining a variable?

612


What is typedef?

681






i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1846


largest Of three Number using without if condition?

1009


What is c programming structure?

622


in linking some of os executables are linking name some of them

1653


What is the difference between text and binary modes?

650


What does %c mean in c?

656


What is use of #include in c?

603


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2651


What are enums in c?

665


how is the examination pattern?

1599