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
Is it fine to write void main () or main () in c?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is the 'named constructor idiom'?
Differentiate between declaring a variable and defining a variable?
What is typedef?
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
largest Of three Number using without if condition?
What is c programming structure?
in linking some of os executables are linking name some of them
What is the difference between text and binary modes?
What does %c mean in c?
What is use of #include in c?
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 “****”.
What are enums in c?
how is the examination pattern?