GeekInterview.com
  I am new, Sign me up!
 

C++ Faqs


C++ Faqs

Questions: 47
Comments: 81
 C++ Faqs Tags
 Showing Questions 1-10 of 47 Questions
[1] 2 3 4 5 Next >>
 Sponsored Links

 
 C++ Faqs
Sorting Options :  

What is the size of an empty class? 
Latest Answer: class A{}most of time sizeof(A) = 1, however, it is a small integer regarding to the complier. ...
Read Answers (2) | Asked by : MURALIR

How to reverse a linked list using only one pointer? 
Latest Answer: void revshow(){struct node *p;int temp[100],count=0,i;p=head;for(i=0;p!=NULL;i++,p=p->next)temp[i]=p->num;for(i=i-1,p=head;p!=NULL;i--,p=p->next)p->num=temp[i];} ...

What is the Default Constructor? 
Latest Answer: A default constructor is a type of constructor which does not have any arguments/parameters.Thus it is executed as the object is created. ...

What is the disadvantage of using too many templates? 
View Question | Asked by : timyan128

When is a destructor executed? 
Latest Answer: It is called automatically whenever life of object ended. we need not to call it separtely. ...
Read Answers (2) | Asked by : itancan

Is it possible to create an interface in C++? If Yes, how? 
View Question | Asked by : kliton

you are tasked by your teacher to help her in the computation of your grade for preliminary period. the grade will computed based on the following formula.CRA=summation of all the quizzes, recitation,board 

How are objects passed in CPP? 
View Question | Asked by : sandeep.vs

Latest Answer: Let us understand through the following code snippet#include#include#include#define BLOCKSIZE 20;int main(){char *ptr;ptr=(char *)malloc(BLOCKSIZE);if(ptr!=NULL)strcpy(ptr,"mohin khan");printf("content=%s",ptr);printf("naddress=%u",ptr);free(ptr);printf("nAfter ...
Read Answers (2) | Asked by : vijaymca

What is auto pointer ? What is the use of this ? 
Latest Answer: Auto pointer is nothing but, Proper memory management ( memory Allocation and deallocation).In C++ there is class template "auto_ptr" this is good example for auto pointer. Only we need to allocate a memory using the "auto_ptr" class ...
Tags : Pointer

View page [1] 2 3 4 5 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