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 11870

how to check whether a linked list is circular.

Microsoft,

11 47479

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 16042




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 8557

How to add checkbox to datagrid?

5 10709

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

11 26592

how to Scroll a DIV content

SoftSquare,

1276

how to create Expandable and Collapsible Menus

1790

how to determine which Mouse Button was pressed

995

create a slide show

Genpact,

1 1437

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

HCL,

910

code to images to rollover

999

code to create a new window

930

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

817

code to Hide and Show form controls

901







Un-Answered Questions { Code Snippets }

How can call any javascript function without saying onclick, onchange, onblur etc events in php?

3184


what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; }

1015


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

1218


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.

1339


how to test the orientation of the layout in android.to note any changes in the ui design when change orientation

1707


How to Check if File Exists?

298


Find out the list of roles which gives access to all t-codes in SAP? Thanks in advance.

1089


Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.

1845


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

1440


write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation

1144


plz send code for manage group of hotels in j2ee frontend:J2EE Backend: DB2 Express

1321


solve the problem in the programming language C++"if a five digit number is input through the keyboard.Write a program to calculate the sum of its digits(hint: use the modulus operator)

1758


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

2342


How can you relate the function with the structure? Explain with an appropriate example.

1661


why nlogn is the lower limit of any sort algorithm?

1087