State two differences between C and C++.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


What is the outcome of cout< a) 16 b) 17 c) 16.5

0 Answers  


Describe about storage allocation and scope of global, extern, static, local and register variables?

0 Answers  


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

0 Answers  


Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

0 Answers   Maxobiz,






Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

0 Answers  


How do I run a program in notepad ++?

0 Answers  


What is the this pointer?

0 Answers  


How do I write a c++ program?

0 Answers  


How would you implement a substr() function that extracts a sub string from a given string?

0 Answers  


Tell me what are static member functions?

0 Answers  


What is the difference between the indirection operator and the address of oper-ator?

0 Answers  


Categories