How much is size of struct having 1 char & 1 integer?
Answer Posted / santosh jain
zero , struct will not have any size in memory untill
object is created.
| Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
What are references in c++? What is a local reference?
What is microsoft c++ redistributable 2013?
What is the difference between interpreters and compilers?
Which bit wise operator is suitable for checking whether a particular bit is on or off?
Explain the difference between abstract class and interface in c++?
What's the "software peter principleā?
What is set in c++?
what is a reference variable in C++?
Explain shallow copy?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
How can you create a virtual copy constructor?
What is the difference between the functions rand(), random(), srand() and randomize()?
Is it possible to get the source code back from binary file?
Can a program run without main?