What are advantages of C++ when comparing with C?

Answer Posted / kapil tyagi

c++ also have the advantage of allowing you to redeclare variables in the midst of code and one line comment...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is c++

1804


What is the difference between a baller and a reference in C++?

578


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

837


Are vectors faster than arrays?

569


What are the three forms of cin.get() and what are their differences?

631






Can we run c program in turbo c++?

588


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

588


Explain the difference between class and struct in c++?

590


What's the "software peter principleā€?

627


What do nonglobal variables default to a) auto b) register c) static

651


What is the difference between a pointer and a link in c ++?

568


When should overload new operator on a global basis or a class basis?

615


What's c++ used for?

598


How are Structure passing and returning implemented by the compiler?

601


Which function should be used to free the memory allocated by calloc()?

594