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
Tell us bitwise shift operators?
How can I find out how much free space is available on disk?
What is hashing in c language?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
Explain what are multidimensional arrays?
How can you determine the size of an allocated portion of memory?
Why do we use header files in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
In C, What is the #line used for?
What is c value paradox explain?
what are bit fields? What is the use of bit fields in a structure declaration?
Describe the header file and its usage in c programming?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What are the advantages of Macro over function?
can any one tel me wt is the question pattern for NIC exam