Diff: between this 2 classes in terms of memory
class A
{
int i;
char c;
double d;
};
class A
{
double d;
int i;
char c;
};
How it is calculating?
Answer Posted / ashponni
Is the memory for double is assigned to int and char?
Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
Is flag a keyword in c?
Explain the use of keyword 'register' with respect to variables.
program to convert a integer to string in c language'
How can I implement a delay, or time a users response, with sub-second resolution?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Does c have class?
What does c in a circle mean?
What is the use of define in c?
What is ambagious result in C? explain with an example.
What do you understand by friend-functions? How are they used?
What is scope of variable in c?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Is c still used?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values