what is inline function?

Answer Posted / achal ubbott

The keyword inline before a function's name can make a
difference only if the function is small.
Such a thing helps in reducing the overhead of context
switching and thus making things work a little faster. It
is all upon the compiler to decide if it would really make
that inline or not. The amount of overhead depends upon the
architecture of the underlying CPU.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three main types of variables?

600


What exactly is polymorphism?

606


Templates mean

1587


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1780


What does and I oop mean?

614






What does and I oop and sksksk mean?

650


Can you name some types of inheritance?

640


What is static modifier?

630


What is protected in oop?

604


What are the 4 main oop principles?

685


Can we override main method?

607


Why interface is used?

553


What makes a language oop?

597


What is ambiguity in inheritance?

625


what is the 3 types of system development life cycle

2431