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 / sumanshu
55 BYTES OF MEMORY NEEDED.
ADDRESSS-IS BY DEFAULT
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
why return type of main is not necessary in linux
what are bit fields? What is the use of bit fields in a structure declaration?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
How can I open files mentioned on the command line, and parse option flags?
What is the right type to use for boolean values in c?
What are the 4 types of unions?
What kind of structure is a house?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
a program that can input number of records and can view it again the record
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is your stream meaning?
How we can insert comments in a c program?
Can we increase size of array in c?
What is the purpose of 'register' keyword in c language?