What is the Difference between Class and Struct?

Answer Posted / wfwre

Class elements are accessed using the provided methods.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I implement sets or arrays of bits?

814


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1012


Write a program for finding factorial of a number.

848


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

1036


Explain what is output redirection?

889


What is struct node in c?

813


What is use of pointer?

789


The file stdio.h, what does it contain?

897


How many loops are there in c?

823


What is string length in c?

832


What is difference between arrays and pointers?

777


What is the difference between functions getch() and getche()?

833


How do you determine the length of a string value that was stored in a variable?

874


Explain what does it mean when a pointer is used in an if statement?

838


Once I have used freopen, how can I get the original stdout (or stdin) back?

844