struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??
Answer Posted / ryan
The size of the structure is 5 bytes
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Explain what are the advantages and disadvantages of a heap?
How do you determine whether to use a stream function or a low-level function?
What does node * mean?
Explain what will the preprocessor do for a program?
Why do we use int main?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Can you please explain the difference between exit() and _exit() function?
What is wrong with this declaration?
What is actual argument?
Is that possible to add pointers to each other?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is a sequential access file?
what is stack , heap ,code segment,and data segment
What is an endless loop?