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; }

1046

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

904

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.

884

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

858

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

865

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

840

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

845

what is the structure of xml document ?

623

What is xml schema?

577

What is a cdata section in xml?

640

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

805

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

899

Write a program to reverse a number in python?

851

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

843

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

1018


Un-Answered Questions { Code Snippets }

How to run the Result Intemation System project in java for collage student in which result of internal exam marks send on parents mobile using SMS? what software required to run this project? please reply immediately...

3114


What is an XML Schema?

636


Can we run Applet in Web browser with security policy files

2574


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

3761


How to Check if Folder Exists?

572


plz send code for Ecorps in j2ee frontend:J2EE Backend: DB2 Express

2868


write a program that reverses the input number of n.Formulate an equation to come up with the answer.

7694


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2779


A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect

2890


What is the functionality of FindWindow?

574


What is the functionality of EnumChildWindows?

494


Is there any static classes are in java give some examples

2134


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

1018


how to create an anonymous function

2165


Hello I am hosting remoting within IIS. Everything works just fine as long as I allow anonymous access at the IIS level. When I allow only Windows Authenticated sessions, something very strange happens: If the client activates the remote object with IP address - works fine If the client activates it using a machine name - get http 401 exception is thrown. The exception is thrown when the client calls the remote method. I set the channel's useDefaultCredentials property to true. Any idea how to allow Windows Authentication? Here is the call stack: System.Net.WebException: The remote server returned an error: (401) Unauthorized .. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean handshakeComplete) at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob, Boolean handshakeComplete) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials) at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials) at System.Net.AuthenticationState.AttemptAuthenticate (HttpWebRequest httpWebRequest, ICredentials authInfo) --- End of inner exception stack trace ---

4701