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 are local variables c?
What is Your Name :)
Explain b+ tree?
What is the difference between variable declaration and variable definition in c?
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
explain what is a newline escape sequence?
develop algorithms to add polynomials (i) in one variable
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
Should I learn data structures in c or python?
What are the advantages and disadvantages of pointers?
How can I discover how many arguments a function was actually called with?
change to postfix a/(b+c*d-e)