Code Snippets Interview Questions
Questions Answers Views Company eMail

How do you write a program which produces its own source code as its output?

7 11963

how to check whether a linked list is circular.

Microsoft,

11 47735

Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.

Microsoft, Nike, IITR,

5 16145




Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.

Amazon, Microsoft,

5 8641

How to add checkbox to datagrid?

5 10781

Program to find the largest sum of contiguous integers in the array. O(n)

11 26796

how to Scroll a DIV content

SoftSquare,

1285

how to create Expandable and Collapsible Menus

1806

how to determine which Mouse Button was pressed

1003

create a slide show

Genpact,

1 1479

code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

HCL,

923

code to images to rollover

1009

code to create a new window

940

write a code that user can choose/alter Body Text Size

828

code to Hide and Show form controls

908







Un-Answered Questions { Code Snippets }

Code for Method of Handling Factorials of Any Size?

1051


advance the focus to next consecutive fields when Enter Key is pressed

1019


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

879


write a program in java to find the moving average of all prime numbers between 2 and 100.

2363


What is the best way to make wordpress plugin

1784


write a program using virtual function to find the transposing of a square matrix?

1718


What is the code of Password Recovery or Forget your password? Plz tell in c # language.

2572


how to create Expandable and Collapsible Menus

1806


JasperETL how to install and create simple project explain me clearly fnds iam wtg for ur rply

2776


maximizing the main window

848


In LSMW , what does the following error mean and how to rectify it : Incorrect interface data for set 78 in method C . This error is occuring in idoc processing step of LSMW.

1349


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.

2088


can any one give me code to keyed a flat file and used chain in RPGLE to search any item

828


How to get the version(major,minor,revision ) of VB6.0 delphi code .I am able to fetch dll file of vb6.0 but not vba file .Can u send me the code snippet in delphi to get the value for vb6.0.

2052


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?

990