Is there something that we can do in C and not in C++?

Answer Posted / bhushan bastwade

We can have variable names as class,new,operator in C but not in C++ as they are keywords in C++.
For more have a look on this
http://www.geeksforgeeks.org/write-c-program-wont-compiler-c/

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use templates?

606


what is Loop function? What are different types of Loops?

645


What are virtual functions in c++?

697


Is linux written in c or c++?

563


Can c++ do everything c can?

612






What is c++ mutable?

713


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

643


What is constant in c++ with example?

620


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

618


What is the use of string in c++?

557


Ask to write virtual base class code?

2158


Which software is used to run c++ program?

556


Define anonymous class.

629


What is the maximum combined length of command line arguments including the space between adjacent arguments?

596


What is a base class?

612