What is the Difference between Class and Struct?
Answer Posted / sureshreddy
the diff b/w structure and class is class by deafualt
private, where as structure by default public.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what value is returned to operating system after program execution?
Explain how can I right-justify a string?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is the newline escape sequence?
What is C language ?
What is graph in c?
How can a program be made to print the name of a source file where an error occurs?
What is meant by inheritance?
What is a #include preprocessor?
When is the “void” keyword used in a function?
If fflush wont work, what can I use to flush input?
How is a null pointer different from a dangling pointer?
What is extern c used for?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?