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 9151

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

TCS, VI eTrans, Tata Elxsi,

34 29397

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

Wipro,

11 13139




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

Google, Motorola, EA Electronic Arts,

25 23784

How to return multiple values from a function?

7 37712

How to access command-line arguments?

4 4882

How to read a directory in a C program?

4 9331

Find your day from your DOB?

Accenture, Microsoft,

15 9374

How to Connect and Insert Record to MYSQL using PHP?

6 9485

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 13678

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

Cognizant,

5 14239

how can u draw a rectangle in C

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

53 79597

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

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

16 24518

how to return a multiple value from a function?

Wipro,

5 4880

how to return a multiple value from a function?

Wipro,

2 4259







Un-Answered Questions { Code Snippets }

can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400.

1104


code to Hide and Show form controls

927


How to Check if Folder Exists?

355


how to create a Draggable element

969


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

1198


Write a (n) algorithm that sorts n distinct integers, ranging in size between 1 and kn inclusive, where k is a constant positive integer. (Hint: Use a kn-element array.)

2855


1.Why does only one copy of a servlet object get created? What happens if you want to remove an old servlet object currently running but do not want to stop the entire servlet engine? 2.How does one servlet object deal with interactions from many browser? (e.g. if your servlet ran an email site, how can it keep track of hundreds of users logging in, reading their mail, etc.)

1512


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

1272


What is the functionality of GetWindowTextLength?

412


how exactly is the lngColour used?

986


Create a program to read two random data set in two files named data1.txt and data2.txt manifold contains integer numbers, whereas data2.txt file contains the float type numbers. Simpanlahmasing each into 2 pieces of data that is an array of type integer array and an array of type float, then calculate the average numbers in the second array.

1096


how to write a program that opens a file and display in reverse order?

1597


Code for Document Validation in XML.NET?

1097


how to create an anonymous function

885


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

553