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 / ricky dobriyal
hello fnd..i am ricky dobriyal
output:-
Size of a =4
Size of 2.0=8 /* because of double*/
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how to capitalise first letter of each word in a given string?
Explain c preprocessor?
Who developed c language?
What are bitwise shift operators in c programming?
Explain can static variables be declared in a header file?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What are the types of pointers?
Explain the term printf() and scanf() used in c language?
How do you print only part of a string?
Explain low-order bytes.
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What are the advantages of using Unions?
What is a wrapper function in c?
How do I use strcmp?
What does char * * argv mean in c?