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
How can you find the day of the week given the date?
What is a union?
Explain void pointer?
what does static variable mean?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Give basis knowledge of web designing ...
Implement bit Array in C.
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What does the message "automatic aggregate intialization is an ansi feature" mean?
What do you mean by keywords in c?
What does p mean in physics?
What is a scope resolution operator in c?
What is main () in c language?
How is a structure member accessed?
What is the best way to comment out a section of code that contains comments?