how to find the sizof of any datatype using bit manipulations
Answer Posted / jvhariharan
void main()
{
int a,b;
a=sizeof(int);
b=sizeof(char);
pf("int:%d char:%d",a,b);
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use null pointer?
What are data structures in c and how to use them?
What is the difference between char array and char pointer?
How do we make a global variable accessible across files? Explain the extern keyword?
How can I sort a linked list?
What is operator precedence?
What is c preprocessor mean?
difference between object file and executable file
What is pass by reference in functions?
What is the difference between NULL and NUL?
What is the difference between malloc() and calloc() function in c language?
What is structure padding and packing in c?
Can you define which header file to include at compile time?
why wipro wase
When was c language developed?