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
Explain the difference between structs and unions in c?
What is structure data type in c?
Can a function argument have default value?
Are the variables argc and argv are always local to main?
Explain how can type-insensitive macros be created?
What are keywords c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
How can I read and write comma-delimited text?
how should functions be apportioned among source files?
Can we declare variable anywhere in c?
What are comments and how do you insert it in a C program?
If errno contains a nonzero number, is there an error?
What is a structure and why it is used?
Explain what does it mean when a pointer is used in an if statement?
How can I access an I o board directly?