Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C++ General Interview Questions
Questions Answers Views Company eMail

What are the static members and static member functions?

1 1308

What is the difference between shallow copy and deep copy?

1 1253

How do you allocate and deallocate memory in C++?

1 1439

Which operator can not be overloaded in C++?

1 1168

Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all in one line (b) in three lines Q2 Write a program that asks interactively the user’s name and age and responds with Hello name, next year you will be next_age. where next_age is age + 1 Q3 For the different values of n, what is the output? printf(“%x %c %o %d”,n,n,n,n); (a) n = 67 (b) n = 20 (c) n = 128 (d) n = 255 (e) n = 100 Q4 What will be the output of the following program? int main() { char a,b,c; scanf(“%c %c %c”,&a,&b,&c); printf(“a=%c b=%c c=%c”,a,b,c); return 0; } [Note: The user input is:ABC DEF GHI]

1 1970

Write a C++ Program to Multiply two Numbers

1 1150

Write a C++ Program to Generate Random Numbers between 0 and 100

1 1359

int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1217

What is the difference between a shallow copy and a deep copy?

3 904

Explain virtual functions in C++.

3 882

Explain the concept of inheritance in C++.

3 866

What are access specifiers in C++?

3 864

What is the use of the this pointer?

3 899

Explain RAII (Resource Acquisition Is Initialization).

3 974

What is the difference between inline functions and macros?

5 1245


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is data structure in c++?

1103


Write a program to read the data and evaluate the results of the election. Print all output to the screen. Your output should specify: The total number of votes, the number of valid votes and the number of spoilt votes. The winner(s) of the election. Hint: An appropriate search should be used to determine the winner(s). The votes obtained by each candidate sorted in terms of the number of votes obtained. Hint: An appropriate sort should be used to sort the candidate(s). The Source code should be saved as VotingSystem. Project Input: Candidates’ Names and Numbers 2501 Victor Taylor 2502 Denise Duncan 2503 Kamal Ramdhan 2504 Michael Ali 2505 Anisa Sawh 2506 Carol Khan 2507 Gary Owen Votes 3 1 2 5 4 3 5 3 5 3 2 8 1 6 7 7 3 5 6 9 3 4 7 1 2 4 5 5 1 4 0 Project Output: Invalid vote: 8 Invalid vote: 9 Number of voters: 30 Number of valid votes: 28 Number of spoilt votes: 2 The winner(s): 2503 Kamal Ramdhan 2505 Anisa Sawh Candidate Score 2503 Kamal Ramdhan 6 2505 Anisa Sawh 6 2501 Victor Taylor 4 2504 Michael Ali 4 2502 Denise Duncan 3 2507 Gary Owen 3 2506 Carol Khan 2

3112


What is the purpose of template?

1054


How much is c++ certification?

1003


Is linux written in c or c++?

999


What is static in c++?

1020


What is a local reference?

1150


What does override mean in c++?

1026


Are strings immutable in c++?

1127


Explain the concept of friend function in c++?

1056


Is c++ a programming language?

1036


What are the benefits of operator overloading?

1162


What is the advantage of an external iterator.

988


If a function doesn’t return a value, how do you declare the function?

1013


How is data hiding achieved in c++?

1034