how to find the sizof of any datatype using bit manipulations
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nazia wasim
the size of any datatype or a variable can b
calculated using sizeof operator .it uses one
argument as the datatype or variable name
and returns the size in bytes.syntax:-sizeof
(datatype).
Is This Answer Correct ? | 0 Yes | 0 No |
What is union in c?
What is the Purpose of 'extern' keyword in a function declaration?
which one is better structure or union?(other than the space occupied )
What is a pointer in c plus plus?
Combinations of fibanocci prime series
how to devloped c lenguege?
What is c language and why we use it?
Software Interview Questions
how many error occurs in C language ?
Should a function contain a return statement if it does not return a value?
What is data structure in c and its types?
Define Spanning-Tree Protocol (STP)