What is the Difference between Class and Struct?
Answer Posted / manju
The only difference between class and struct is that
in class all members are private by default whereas in
struct the members are by default public.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Why is c called a mid-level programming language?
What are the preprocessor categories?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Which header file is used for clrscr?
i want to know the procedure of qualcomm for getting a job through offcampus
What are the features of c language?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is variable in c example?
What is cohesion in c?
Explain how can a program be made to print the name of a source file where an error occurs?
What is sizeof int?
Explain what is meant by high-order and low-order bytes?
What is the purpose of realloc()?
Explain what is a pragma?