Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

C++ perguntas e respostas de entrevista

Test your skills through the online practice test: C++ Quiz Online Practice Test

Diferencas relacionadas

C vs C++Java vs C++

Pergunta 116. What is polymorphism?


Polymorphism is the idea that a base class can be inherited by several classes. A base class pointer can point to its child class and a base class array can store different child class objects.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 117. How can you tell what shell you are running on UNIX system?

You can do the Echo $RANDOM. It will return a undefined variable if you are from the C-Shell, just a return prompt if you are from the Bourne shell, and a 5 digit random numbers if you are from the Korn shell. You could also do a ps -l and look for the shell with the highest PID.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 118. What is pure virtual function?


A class is made abstract by declaring one or more of its virtual functions to be pure. A pure virtual function is one with an initializer of = 0 in its declaration
 

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 119. Write a Struct Time where integer m, h, s are its members


struct Time
{
int m;
int h;
int s;
};

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 120. How do you traverse a Btree in Backward in-order?


Process the node in the right subtree
Process the root
Process the node in the left subtree

Isto e util? Adicionar comentario Ver comentarios
 

3) What is pure virtual function? 4) Write a Struct Time where integer m, h, s are its members 5) How do you traverse a Btree in Backward in-order? " />

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.