Define a way other than using the keyword inline to make a function inline?

Answer Posted / subham chaudhary

The function must be defined inside the class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can union be self referenced?

578


what are Operators and explain with an example?

707


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

785


Do you know what are static and dynamic type checking?

620


What is the c++ programming language used for?

581






What do c++ programmers do?

556


What is meant by entry controlled loop? What all C++ loops are exit controlled?

567


If I is an integer variable, which is faster ++i or i++?

592


Is c or c++ more useful?

576


What is a local reference?

671


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

590


There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

2533


Explain what is polymorphism in c++?

627


What is a block in c++?

552


How can virtual functions in c++ be implemented?

610