Why can't we initialise member variable of a strucutre
Answer Posted / thunder
Because at the time of creation of structures, memory is not
allocate in the memory block.Memory will be allocated at the
time of creation of structure instance only, that's y we are
not able to initialize the structure members.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Do you know the purpose of 'register' keyword?
How can I send mail from within a c program?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What are the types of type specifiers?
Find MAXIMUM of three distinct integers using a single C statement
What is the correct code to have following output in c using nested for loop?
Explain what are reserved words?
What is difference between far and near pointers?
What do you understand by normalization of pointers?
What oops means?
What does %p mean c?
Why is c so powerful?
What are the 4 types of unions?
What is a program flowchart and explain how does it help in writing a program?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area