What is the purpose of inline functions in C++?
I - Inline functions are used to reduce the processing time of function calls.
II - Inline functio...
What is the purpose of inline functions in C++?
I - Inline functions are used to reduce the processing time of function calls. II - Inline functions are used to reduce the memory usage of function calls. III - Inline functions can be used recursively. IV - Inline functions can have default parameter values. a) I and III are correct. b) II and IV are correct. c) I and IV are correct. d) II and III are correct. e) I and II are correct.
A função inline em C++ tem como objetivo reduzir o tempo de processamento das chamadas de função. Além disso, ela também pode ser usada recursivamente e pode ter valores padrão para parâmetros. Portanto, a alternativa correta é a letra c) I e IV estão corretas.
0
0
Responda
Para escrever sua resposta aqui, entre ou crie uma conta