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 the two types of functions in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
What will be the outcome of the following conditional statement if the value of variable s is 10?
Explain how can a program be made to print the line number where an error occurs?
Write a program to generate prime factors of a given integer?
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.
what is difference between c and c++
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
Write a program to know whether the input number is an armstrong number.
What does emoji p mean?