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?


3 8650

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

TCS, VI eTrans, Tata Elxsi,

34 27320

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


11 11939

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

Google, Motorola, EA Electronic Arts,

25 22026

How to return multiple values from a function?

7 36617

How to access command-line arguments?

4 4568

How to read a directory in a C program?

4 9085

Find your day from your DOB?

Accenture, Microsoft,

15 8177

How to Connect and Insert Record to MYSQL using PHP?

6 9044

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.


9 12818

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


5 13643

how can u draw a rectangle in C

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

53 75188

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

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

16 23216

how to return a multiple value from a function?


5 4527

how to return a multiple value from a function?


2 3970

Un-Answered Questions { Code Snippets }

How to get Dynamically Linked Comboboxes Set?


Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly.


Could u please tell me any UNIX scripts that 'll lead to find the network latency of the servers.?or else any unix command to find the network latency of a server?Thnx in advance...


I have a file which contains so many lines and variable number of lines are treated as a record. For example *first ooooo xxxxx ttttt mmmm vvvvvvv *end uuu bbbb *first kkkkvvvvvv nnnn mmmmm kkkkk fffff gggg ffff kkkk lllll *end. Here the lines from *first to *end are treated as a record. The number of lines between *first and *end is not same for all the records. Suppose there are 100 records (or number of records are not predefined)like the format given in the above example. Now the entire file needs to split into two files, first having 40 and remaining in the second file. Can we split using sort utility? If possible then what is the sort card?


write a program for area of circumference of shapes


How to find the list of users who have two codes su01 and pfcg? thank in advance all.


program to bring a window to the front


How to block double clicks


I am attempting to work on a game panel with multi-server support, so in one of the pages there is a dropdown menu with servers on it, this is the part i am having issues with is server 1 is chosen i need access to the username running a script to server 1 chosen i need a script that will realize its been chosen and pop up below with a username thats associated with it because the users differ on each server so i choose server 1 i need a code to pull from the db and choose the user associated with the said server please help..


3) Int Matrix of certain size was given, We had few valu= es in it like this. =97=97=97=97=97=97=97=97=97=97=97 1 = | 4 | | 5 | &= nbsp; | 45 =97=97=97=97=97=97=97=97=97=97=97 &n= bsp; | 3 | 3 | 5 | = | 4 =97=97=97=97=97=97=97=97=97=97=97 34 |&nbs= p; 3 | 3 | | 12 | &= nbsp; =97=97=97=97=97=97=97=97=97=97=97 3 | &nbs= p; | 3 | 4 | = | 3 =97=97=97=97=97=97=97=97=97=97=97 3 | = ; | | | = ; 3 | =97=97=97=97=97=97=97=97=97=97=97 &= nbsp; | | 4 | = ; | 4 | 3 We w= ere supposed to move back all the spaces in it at the end. Note: = If implemented this prog using recursion, would get higher preference.


Sir... please give some important coding questions asked by product companies..


design a class car having variables model, yr_of_manufacture, owner,reg_no. Design methods for assigning the values, Printing the values( you decide gui,control, any other methods if require)




Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?


how to remove or delete multiple selected items from listbox in on button click in asp?