GeekInterview.com
  I am new, Sign me up!
 

C++ Interview Questions


C++ Interview Questions

Questions: 203
Comments: 914
 Showing Questions 11-20 of 203 Questions
<< Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 C++ Interview Questions
Sorting Options :  

What is the concept of file stream in C++? How is a file opened and closed in C++? 
Latest Answer: File stream are opened when default constructor was called and closed during destructor called. ...

What are Default Constructor and Do Nothing Constructor 
Latest Answer: I think Do nothing constructor is the one OS offered, which has no argument in it, of course no return type. The default constructor has the same signature as DO nothing constructor, but you can write some initialization there, it can be overloaded. In ...
Read Answers (3) | Asked by : amiomi

How will you write object into file using file concepts in C++? 
Latest Answer: A function in the class definition can be included which writes to the standard file stream and takes the name of target file as a parameter. Function prototype will be like this:WriteObjectToFile (const char* fileName){ofstream fout(fileName);fout

Write a program to count the number of characters in a string using pointers. 
Latest Answer: int main(void) {    char* str = "Hellolklklk";    int i=0;    for(i=0; *str; i++, str++);    printf("count= %dn", i);return 0;} ...

Latest Answer: The values we are passing at the time of calling a function are called arguments.and the values that get received in some variable during function call are called parameters. ...
Read Answers (2) | Asked by : suhana

i know that function name is same. but each time we are writing code for each function.then in which way it is advantageous than normal function. 
View Question | Asked by : suhana

why we fallow top down approach in c-language and bottom up approach in c++?explain? 
Latest Answer: Top-down approach views from generalizaton to specilization where as bottom-up approach does the reverse of it. ...
Read Answers (2) | Asked by : suhana

Why is Dynamic binding (regarding DLLs) are considered better in comparison with static binding? What are DLLs and how they work? 
Latest Answer: While generating the binary executable, a compiler have two options:1. It can include the helper libraries (third party libraries for example) with the exe file in binary form which increases the size of the final exe but the exe file can run on its own ...
Read Answers (1) | Asked by : Anshu007

Using inheritance, which of the following is not alloweda) Changing implementation of operation in parent by the subclassb) Using implementation of operation in parent class by the subclassc) Using attributes 
Latest Answer: We can override the implementation of parent class but we cannot change implementation from child class. So 'A' is not correct. ...

What is the most efficient way to reverse a linklist? 
Latest Answer: #include#include#includeclass Node{ public:  int data;  Node(int data);  Node *next;  void display();};Node::Node(int data){ this->data=data;}void Node::display(){ cout

View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape