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

Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

3012

What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

NIIT, SRA,

2540

What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

SRA,

2611

write a program to find 2^n+1 ?

CTS,

2072

write a program to find 2 power of a 5digit number with out using big int and exponent ?

2386

what is the difference between ERROR and EXCEPTION?

NIIT, nvidia,

14 36790

in C++ , the word plus plus who found this?

4 7070

what is pointers

Exilant,

7 10306

show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.

1 11125

what is the main difference between sizeof() operator in c and c++

3 7089

write a program that takes 5 digit no and calculate 2 power that no and print it.

3 5417

Write a program to get the value of sin (x) using a library function , when x is given in degrees.

1 4829

Write a c program for binary addition of two 8 bit numbers.

TCS,

4124

JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?

3 5451

how to explain our contribution in the project?

Wipro, Yahoo,

3704


Un-Answered Questions { C++ }

Please explain class & object in c++?

1095


What does namespace mean in c++?

1078


List down the guideline that should be followed while using friend function.

1072


What is stoi in c++?

1185


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

1059


What is cout flush?

1031


Write a program to concatenate two strings.

1094


Differentiate between a constructor and a destructor in c++.

1019


how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<

2423


Differentiate between an array and a list?

1180


What does std :: flush do?

1136


What are the advantages of using a pointer?

1082


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

961


What's the value of the expression 5["abxdef"]?

1559


What is Advantage and Use of THIS pointer in C++ – Scenarios?

759