Difference between Class and Struct.
Answer Posted / frozan maqsoodi
the main difference is the default access specifier.
constructors can be declared in structures. try it, you
will get the answer.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain about C function prototype?
what type of questions arrive in interview over c programming?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Define macros.
Why main function is special give two reasons?
Are comments included during the compilation stage and placed in the EXE file as well?
What is meant by gets in c?
How can you restore a redirected standard stream?
What are types of functions?
code for quick sort?
What is the difference between a function and a method in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Why should I prototype a function?
Which type of language is c?