What is the Difference between Class and Struct?
Answer Posted / ashish srivastava
by default
struct elements are public
while
class elements are private
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Explain what is wrong with this program statement? Void = 10;
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Are there constructors in c?
What is the difference between typedef struct and struct?
What is a static variable in c?
What is c language in simple words?
What is the mean of function?
What is pointer to pointer in c language?
Explain how can I avoid the abort, retry, fail messages?
How will you delete a node in DLL?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Is it possible to have a function as a parameter in another function?
What does emoji p mean?
Is it acceptable to declare/define a variable in a c header?