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 doesnt long int work?
What are reserved words with a programming language?
why we wont use '&' sing in aceesing the string using scanf
What is formal argument?
What is wrong with this code?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is the heap in c?
What is the general form of #line preprocessor?
How can I write a function that takes a format string and a variable number of arguments?
Who invented bcpl language?
Why void main is used in c?
What is structure data type in c?
Write the control statements in C language
Explain the difference between exit() and _exit() function?
Is int a keyword in c?