Write a simple program to find the size of different basic
data types in C.
Answer Posted / rajiv
int x,y,b;
char a;
x=sizeof(y);
b=sizeof(a);
printf("the size of int is %d & the size of char is
%d",x,b);
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
What is the hardest programming language?
Where local variables are stored in c?
Why does everyone say not to use gets?
please send me the code for multiplying sparse matrix using c
What is the best style for code layout in c?
Are pointers integer?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
How do you override a defined macro?
What is meant by keywords in c?
Can a file other than a .h file be included with #include?
Is Exception handling possible in c language?
Explain the concept and use of type void.
Function calling procedures? and their differences? Why should one go for Call by Reference?
How can I copy just a portion of a string?
Explain what is the most efficient way to store flag values?