What is the Difference between Class and Struct?
Answer Posted / vishnupriya
1.the variables of struct r jus varialbles inly,whereas it
it objects for class...
2. pointers can be used in structure only for same return
types,but in classes it can be uses for diff classes
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is it better to bitshift a value than to multiply by 2?
What are the disadvantages of c language?
What is the size of a union variable?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is the condition that is applied with ?: Operator?
What is wrong with this declaration?
What is integer constants?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is a static function in c?
What is the right type to use for boolean values in c? Is there a standard type?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
what is the height of tree if leaf node is at level 3. please explain
Write a program to reverse a given number in c?
What is the code for 3 questions and answer check in VisualBasic.Net?
What do you mean by invalid pointer arithmetic?