Answer Posted / srilatha
1.structure contains only data members.
class contains data members and member functions.
2.in structures we can use keyword struct.
in classes we can use keyword class.
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is multidimensional arrays
Define VARIABLE?
how do you execute a c program in unix.
How do you determine a file’s attributes?
What are the differences between new and malloc in C?
What are 3 types of structures?
What is hash table in c?
What tq means in chat?
What is null pointer in c?
What is the purpose of 'register' keyword?
Write a program for finding factorial of a number.
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
using only #include
What is || operator and how does it function in a program?
write a c program to calculate sum of digits till it reduces to a single digit using recursion