Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C++ General Interview Questions

Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

1860

C++ program output? Explain output of this program. #include using std::cout; using std::cin; int main() {   cout< 2113

Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.

1543

What is function overriding?

2039

Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

1238

Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

1170

Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)Ã—h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program

1417

what are the events occur in intr activated on interrupt vector table

HGS,

1032

Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

853

daily Routine of father

748

What is encapsulation in C++? Give an example.

428

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

TCS,

404

503

Do you know about C++ 11 standard?

467

Can we make any program in c++ without using any header file and what is the shortest program in c++.

454

Un-Answered Questions { C++ General }

Define namespace in c++?

499

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

449

What is scope resolution operator in c++ with example?

416

What is a far pointer? where we use it?

446

Will this c++ program execute or not?

443

431

What is const in c++?

429

Can we use this pointer in a class specific, operator-overloading function for new operator?

430

Describe exception handling concept with an example?

392

Write bites in Turbo c++ Header ("Include") Files.

524

What does it mean to declare a member variable as static?

438

What are associate containers?

454

How many types of comments are there in c++?

424

Is there any difference between int [] a and int a [] in c++?

375

When one must use recursion function? Mention what happens when recursion functions are declared inline?

495