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
Explain how do you generate random numbers in c?
What is the function of multilevel pointer in c?
why do some people write if(0 == x) instead of if(x == 0)?
How can you find the day of the week given the date?
What are register variables in c?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Who is the main contributor in designing the c language after dennis ritchie?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is time null in c?
What's the total generic pointer type?
What is wild pointer in c?
Differentiate between full, complete & perfect binary trees.
Explain Function Pointer?