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 9477

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

TCS, VI eTrans, Tata Elxsi,

34 30502

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


11 13861

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

Google, Motorola, EA Electronic Arts,

25 24475

How to return multiple values from a function?

7 38286

How to access command-line arguments?

4 5041

How to read a directory in a C program?

4 9448

Find your day from your DOB?

Accenture, Microsoft,

15 9763

How to Connect and Insert Record to MYSQL using PHP?

6 10086

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 14143

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


5 14722

how can u draw a rectangle in C

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

53 81731

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

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

16 25010

how to return a multiple value from a function?


5 4993

how to return a multiple value from a function?


2 4429

Un-Answered Questions { Code Snippets }

create Drop-Down Navigation Menus


iam getting keyword or delimiter error while executing ICETOOL,provide me solution.


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


how to diplay a external image of output on winxp by using c & c++,


an on-line examination application using html jsp servlet and jdbc. including session management and cookies


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


hai, i want to know how the connectionpool manager work in the java or netbeans.Anybody having the exact code plz give to me i have no idea about that so help me plz


create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report


import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzz xplain me this java code like why i m including this packages n the whole code plzzzzzz


what does mbln in mblnrects mean? my boolean?


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


can you please write a program for deadlock that can detect deadlock and to prevent deadlock.


U hv to enter a range from a and b and search hw many no. of times a pattern n. occurs between the range a and b. Eg :i/p:enter range :0 100 Enter pattern: 13 o/p: the no. times 13 occurred betwwn 0 to 100:1 Eg :i/p:enter range :100 1000 Enter pattern: 13 o/p: the no. times 13 occurred betwwn 100 to 1000: (in this 13,113,131,132,133…139,213,313,…913 all these will be counted)


snippet to prevent submission of form when certain/any validations got failed


Write a simple encryption program using string function which apply the substitution method.