Difference between Class and Struct.
Answer Posted / rahul yadav
wrong
structs can also contain functions in C++,
but in C, i ma not sure.
but since we are talking abot Class so we have to answer in
the context of C++,hence the answer is wrong.
only diff is of default variable scope.
| Is This Answer Correct ? | 37 Yes | 27 No |
Post New Answer View All Answers
By using C language input a date into it and if it is right?
How arrays can be passed to a user defined function
When should the volatile modifier be used?
What the advantages of using Unions?
What is the purpose of void in c?
Why is python slower than c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is c basic?
What is difference between stdio h and conio h?
Here is a good puzzle: how do you write a program which produces its own source code as output?
What do you mean by keywords in c?
What are the disadvantages of a shell structure?
Why void is used in c?
Linked lists -- can you tell me how to check whether a linked list is circular?
How is a pointer variable declared?