C++ Interview Questions
Questions Answers Views Company eMail

founder of c++

Microtek, TCS, TeleCommand,

7 10396

What is C++ could you enplane me please?

1 3179

if x<>=z then statement end what is the cyclomatic complexity

5 28982

How do you make derived class as an abstract class?

Convergys, TCS,

1 4468

Write a program to find out the number of palindromes in a sentence.

TCS,

1 3875

what is static?

4 4581

The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

TCS,

6 9133

How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

Yahoo,

1841

What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

Yahoo,

1 6206

How do you initialize a class member, class x { const int i; };

emc2,

8 8175

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 4013

write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

Wipro,

1795

advantages and disadvantages of using Borland C++ / version 5.

1 8322

what is overloading

MindCracker,

3 4147

Read the following program carefully and write the output of the program. Explain each line of code according to given numbering. #include #include #include #include 1……………… int main (void) { pid_t pid; 2………………………… pid = fork(); 3…………………………. if (pid > 0) { int i; 4………………………… for (i = 0; i < 5; i++) { 5………………… …………… printf(" I AM VU : %d\n", i); 6………………… …………… sleep(1); } exit(0); } 7………………… ……… else if (pid == 0) { int j; for (j = 0; j < 5; j++) { 8……………………………… printf(" I have no child: %d\n", j); sleep(1); } _exit(0); } else { 9………………………………fprintf(stderr, "can't fork, error %d\n", errno); 10……………… … ………… exit (EXIT_FAILURE); } }

1 3756


Un-Answered Questions { C++ }

What is encapsulation in oop?

611


What is the difference between the functions memmove() and memcpy()?

636


Write is a binary search tree? Write an algo and tell complexity?

598


What is the difference between an ARRAY and a LIST in C++?

550


What is the best c++ compiler?

596






What is #include c++?

572


What are the 3 principles of oop?

621


What is the difference between public, private, and protected access?

620


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1780


What are c++ files?

583


Which one between if-else and switch is more efficient?

606


Is c++ slower than c?

577


what is C++ objects?

674


How do you initialize a string in c++?

566


Why c++ does not have finally?

595