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
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What are c preprocessors?
What does struct node * mean?
what do you mean by inline function in C?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What are structure members?
why return type of main is not necessary in linux
What are the 4 types of organizational structures?
Explain the red-black trees?
What is the use of #include in c?
what is uses of .net
How can I write functions that take a variable number of arguments?
Explain what does the format %10.2 mean when included in a printf statement?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
When should we use pointers in a c program?