struct abc
{
unsigned int a;
char b;
float r;
};
struct xyz
{
int u;
struct abc tt;
}ww;
ww = (struct xyz*)malloc(sizeof(struct xyz));
will the memory be allocated for the inner structure also?
Answer / sadanand
Yes. when sizeof(xyz) is done. it will compute size of
struct abc + size of int
| Is This Answer Correct ? | 4 Yes | 1 No |
what is self refrential structure
What is a spanning Tree?
What is the difference between struct and union in C?
How can I call a function, given its name as a string?
Write a program to know whether the input number is an armstrong number.
write a program to print calender using for loop.
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321
if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item
change to postfix a/(b+c*d-e)
how to write a prog in c to convert decimal number into binary by using recursen function,
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question