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++ Interview Questions
Questions Answers Views Company eMail

what is the acronym of the term 'C.O.M.P.U.T.E.R' ?

Config Systems, Google, Wipro,

17 32513

i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem

Reliance,

1 4911

which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.

4 6416

a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?

CTS,

2 4533

what is the sylabus for priliminaries?

2181

Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply

3 4851

how to get the sum of two integers?

2 5046

How to Increment the value of the empid E001 for each and every employee by using the programe?

Accenture,

1 3679

How to calculate the age from the date of birth by using the program?

Accenture,

2 9492

how to find the correct email address format by using the programe?

Accenture,

1 4053

why we are using the fork command?.. how it works?

1 4397

what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??

4 8034

Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

Nucleus, TCS,

3890

difference between the c++ and c languages

Wipro,

4 6859

what is electronic software

1 4016


Un-Answered Questions { C++ }

Do you need a main function in c++?

1127


Can I learn c++ as my first language?

1114


What are the types of abstraction?

1080


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

1002


sir please send me bpcl previous question papers

2404


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6417


Explain dangling pointer.

1135


What is iostream in c++ used for?

1039


What is the main use of c++?

1131


Is overriding possible in c++?

1021


Explain the concepts involved in Object Oriented programming.

1250


#include #include #include #include void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.

3771


What are the differences between new and malloc?

1139


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4957


Write a C++ program to print strings in reverse order.

947