Which uses less memory?
a)
struct astruct
{
int x;
float y;
int v;
};
b)
union aunion
{
int x;
float v;
};
c)
char array[10];
Answer Posted / guest
Ans is B)
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Explain the extern storage classes in c++.
How delete [] is different from delete?
What is istream and ostream in c++?
What is a block in c++?
What is the main use of c++?
Is c++ platform dependent?
Write a c program for binary addition of two 8 bit numbers.
Can we make any program in c++ without using any header file and what is the shortest program in c++.
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
How are the features of c++ different from c?
What is c++ iterator?
Difference between pointer to constant vs. Pointer constant
Can we use this pointer inside static member function?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is the difference between global variables and static varables?