No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Student (pursuing B.Tech in computer science)
I have just joined your website. I am attending B.Tech in Computer science and have completed upto inheritance in c++. My first question here is: What is the relationship between inheritance and composition and why the two can be used in place of other. |
|
I am not able to understand the following points in regard to difference between C and C++, 1.The comma operator can result in an "l-value" (a quantity that can be used for the left-hand side of an assignment) in C++, but not in C. 2.Enumeration constants (enum values) are always … |
|
I am new to javascript and have made a simple form accepting details of login on a web page. I fail to understand how the following code handles the error when written between script tags: [code] function errorhandler(errormessage,url,line) { alert("Error :"+errormessage); alert("url :" +url); alert("line :"+line); return true; } onerror=errorhandler; … |
|
I have a confusion : Is there any specific advantage of using int main() over void main() in c++ programs. Can anybody solve it ? |