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
Does c have an equivalent to pascals with statement?
What is the purpose of main( ) in c language?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Write a program to reverse a linked list in c.
What language is c written?
Differentiate between #include<...> and #include '...'
What are header files why are they important?
How can I direct output to the printer?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is the use of gets and puts?
What are header files in c?
What does double pointer mean in c?
How are 16- and 32-bit numbers stored?
State two uses of pointers in C?
Multiply an Integer Number by 2 Without Using Multiplication Operator