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
How do you determine the length of a string value that was stored in a variable?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is the difference between functions getch() and getche()?
What does the error message "DGROUP exceeds 64K" mean?
What is formal argument?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Can you please explain the difference between malloc() and calloc() function?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What is the difference between NULL and NUL?
Why #include is used in c language?
How to throw some light on the b tree?
What is gets() function?
What is meant by 'bit masking'?
Differentiate between null and void pointers.
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...