Explain the differences between public, protected, private
and internal.
Answer Posted / avinash
public means we can access the code or data in public that
is visible to others.
protected means the code or data can be within the system
and,or it has no access to it.and it is not available.
private means it can be accessesed only by the person who
has the access or key to it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is a pointer a kind of array?
What is difference between static and global variable in c?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What is the data segment that is followed by c?
Can we initialize extern variable in c?
What standard functions are available to manipulate strings?
What is calloc() function?
Hai what is the different types of versions and their differences
Distinguish between actual and formal arguments.
Explain low-order bytes.
differentiate built-in functions and user – defined functions.
What is volatile c?
What will the preprocessor do for a program?
List the difference between a "copy constructor" and a "assignment operator"?
number of times a digit is present in a number