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
Define and explain about ! Operator?
In which header file is the null macro defined?
program for reversing a selected line word by word when multiple lines are given without using strrev
What are integer variable, floating-point variable and character variable?
What are header files and what are its uses in C programming?
Calculate 1*2*3*____*n using recursive function??
What are the string functions? List some string functions available in c.
How many types of arrays are there in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Why c is procedure oriented?
What is getch () for?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Difference between MAC vs. IP Addressing
What does c mean?
What do you mean by command line argument?