how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / amit ranjan
int main()
{
int a[2];
int one = a;
int two = a+1;
int test = two-one;
printf("%d\n", test);
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does typeof return in c?
Write a program to use switch statement.
What is d'n in c?
will u please send me the placement papers to my mail???????????????????
Why is c so popular?
What is the use of define in c?
Is c dynamically typed?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What is variable in c example?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain what is the benefit of using enum to declare a constant?
What are the two types of structure?
Why do we need a structure?
Explain how can I read and write comma-delimited text?
What is the difference between Printf(..) and sprint(...) ?