Code Snippets Interview Questions
Questions Answers Views Company eMail

Write A C++ Program To Input A Number Between 20 To 99 And Display Its Numbername?

TCS,

3 12495

print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!

Tata Elxsi, TCS, VI eTrans,

35 45623

print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!

Wipro,

11 21290

Give a oneline C expression to test whether a number is a power of 2?

EA Electronic Arts, Google, Motorola,

25 36089

How to return multiple values from a function?

7 44985

How to access command-line arguments?

4 7570

How to read a directory in a C program?

4 12104

Find your day from your DOB?

Accenture, Microsoft,

15 17205

How to Connect and Insert Record to MYSQL using PHP?

6 13041

Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.

Microsoft,

9 19838

How to read MS-word document in java without displaying junk (unnecessary) data?

Cognizant,

5 18324

how can u draw a rectangle in C

Accenture, CO, Codeblocks, Cognizant, HCL, Oracle, Punjab National Bank, SAP Labs, TCS, University, Wipro,

53 107913

How to send e-mail from an ASP.NET application?

DataPoint, Infosys, Persistent, Radar, TCS, Wipro,

16 32505

how to return a multiple value from a function?

Wipro,

5 8269

how to return a multiple value from a function?

Wipro,

2 6274


Un-Answered Questions { Code Snippets }

how to create Expandable and Collapsible Menus

2656


what is main difference between array_push and array_pop?

3687


write a program that creates a sequenced array of numbers starting with 1 and alternately add 1 and then 2 to create the text number in the series , as shown below. 1,33,4,6,7,9,............147,148,150 Then , using a binary search , searches the array 100 times using randomly generated targets in the range of 1 to 150

3262


How can export database using php code?

1583


What is the functionality of SendMessage?

726






write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.

3950


How to encode and decode URL strings?

1794


plz send code for feature rich resume builder in j2ee frontend:J2EE Backend: DB2 Express

3183


What are the advantages of XML DOM Document?

361


code to positioning of window in certain dimensions

1666


how to Auto Scroll the page

1633


For printing a message we use System.out.println in normal programs. We use String msg="text....."; Can't we use String msg=" " in normal programs and System.out.println("........") in applets. Please answer this question?

2144


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

575


How to add flash or *.gif file in edit panel in java?

1959


Common UI for Multiple web applications. Suppose there are 35 websites using same third party controls.These 3rd party controls are made together that all 35 websites can use these controls.If we put all 3rd party controls and use its dll in 35 websites,only class files will be accessable. But I want to use CSS,images also in all 35 websites. how I can design the N-tier solution for this project.

2250