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...



Code Snippets Interview Questions
Questions Answers Views Company eMail

What output does this program generate as shown? Why? class A { A() { cout << "A::A()" << endl; } ~A() { cout << "A::~A()" << endl; throw "A::exception"; } }; class B { B() { cout << "B::B()" << endl; throw "B::exception"; } ~B() { cout << "B::~B()"; } }; int main(int, char**) { try { cout << "Entering try...catch block" << endl; A objectA; B objectB; cout << "Exiting try...catch block" << endl; } catch (char* ex) { cout << ex << endl; } return 0; }

992

Write a program that will convert an integer pointer to an integer and vice-versa.

849

Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.

836

Write code that allows to create only one instance of a class?

794

Write code to add functions, which would work as get and put properties of a class?

822

Write code to make an object work like a 2-d array?

806

Write a code snippet to display an integer in a binary format?

802

what is the structure of xml document ?

573

What is xml schema?

534

What is a cdata section in xml?

598

How to print sum of the numbers starting from 1 to 100?

760

Write a python program to swap the first and last value of a list?

869

Write a program to reverse a number in python?

792

Write a python program to check common letters in two input strings?

792

What is the output when we execute list(“hello”)?

978


Un-Answered Questions { Code Snippets }

How to palindrom string in c language?

10856


code to positioning of window in certain dimensions

2078


Is there any way to open notepad within php?

2045


What is the functionality of EnumWindows?

554


Devise a program to implement the Fibonacci sequence.

873


Code for Searching for Multiple Matches with the MatchCollection Class?

3392


program to show a progress bar

2568


A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is already reserved then it will prompt an error message. And also if the input seat no is out of range then it will also prompt an error message. The program is continuously running. Termination of the program will depends on how the programmer will apply. Sample output: Movie Seats Reservation Summary of Seats: Seat 1: Available Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 6 The Seat no. is out of range! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 The Seat no. is already reserved! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 0 GoodBye... Thank You!!!

2278


Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

796


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3490


How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

2502


How can a procedure fetch data from FTP? I need a general code for this..

1365


Coding for Synchronizing Cache Access in ASP.NET?

3591


how to use the GetTickCount() properly and what is that procedure for?

3089


write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used

4821