let's take a code
struct FAQ
{
int a;
char b;
float c;
double d;
int a[10];
}*temp;
now explain me how the memory will be allocated for the
structure FAQ and what address will be in the structure
pointer (temp)....................
Answer Posted / aman
your question is wrong it will give an error because u r declaring the variable 2 times and if u name it something else then the memory size will be 35 bytes on 32 bit compiler
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the properties of union.
Difference between exit() and _exit() function?
What is d scanf?
What is FIFO?
How to get string length of given string in c?
Multiply an Integer Number by 2 Without Using Multiplication Operator
What is the acronym for ansi?
What is use of bit field?
Explain what is the difference between the expression '++a' and 'a++'?
How can I find out if there are characters available for reading?
What are the advantages and disadvantages of pointers?
What is a built-in function in C?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How do I get a null pointer in my programs?