Write any small program that will compile in "C" but not
in "C++"

Answer Posted / sauarv

answer no.. 6 is the most correct solution

as the class is a keyword in c++

but for answer 9 ,,ur prediction is correct that it will give error in c++ ,,although ur reason is not right

printf n csanf are not c specific

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to access grid view row?

1995


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2035


Define a conversion constructor?

815


Why do we use using namespace std in c++?

808


explain the reference variable in c++?

798


Is nan a c++?

863


What problems might the following macro bring to the application?

803


What do you mean by delegate? Can a user retain delegates?

728


What are c++ storage classes?

805


Explain container class.

949


What is the function of I/O library in C++ ?

879


Write a c program for binary addition of two 8 bit numbers.

3879


Will rust take over c++?

793


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2041


What are multiple inheritances (virtual inheritance)?

805