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));}
Answers were Sorted based on User's Feedback
how to swap two integers 1 and 32767 without using third variable
What is logical error?
program for validity of triangle from 3 side
how to use showbits function?
What is wild pointer in c?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
how to find the binary of a number?
What is pass by reference in functions?
Why is %d used in c?
What is the difference between text files and binary files?
I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
Why structure is used in c?