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 |
Explain setjmp()?
What is a program flowchart and explain how does it help in writing a program?
Why c is called object oriented language?
Can a pointer point to null?
When should the register modifier be used? Does it really help?
What is a double c?
Can the curly brackets { } be used to enclose a single line of code?
What is data type long in c?
How is = symbol different from == symbol in c programming?
How can I write a function that takes a format string and a variable number of arguments?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
0 Answers College School Exams Tests,
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.