Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Code Snippets Interview Questions
Questions Answers Views Company eMail

Create a class called Accounts which has data members like ACCOUNT no, Customer name, Account type, Transaction type (d/w), amount, balance D->Deposit W->Withdrawal If transaction type is deposit call the credit(int amount) and update balance in this method. If transaction type is withdraw call debit(int amt) and update balance. Pass the other information like Account no,name,Account Type through constructor. Call the show data method to display the values.

Cognizant,

1 6804

int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().

1 5326

int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().

2 5848

There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.

TCS,

1 4857

Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.

Wipro,

3 8735

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

iGate,

3817

is public static void main() work in java?is "String arg[]" needed as argument?

Tech Mahindra,

4 8201

‎#define good bad main() { int good=1; int bad=0; printf ("good is:%d",good); }

2 5409

what is software testing

TCS,

1 4855

Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false

Cognizant, lenovo,

1 5737

using friend function find the maximum number from given two numbers from two different classes.write all necessary functions and constructor for the classes.

TCS,

1 18479

write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

Nagarro,

4758

There is a lucky draw held every day. if there is a winning number eg 1876,then all possible numbers like 1867,1687,1768 etc are the numbers that match irrespective of the position of the digit. Thus all these numbers qualify fr the lucky draw prize Assume there is no zero digit in any numbers. write a program to show all the possible winning numbers if a "winning number"is passed as an arguments to the function.

Nagarro,

1 7994

how to concatenate the two strings

1 4121

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

1388


Un-Answered Questions { Code Snippets }

Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

3436


What is XML Parser?

762


Write a python program to print table of a given number?

869


What is the meaning of version in XML?

701


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

2342


I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{

2424


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.

2293


Why XSLT is important for XML?

717


How to check if Folder is a Special Shell Folder ?

527


code to detect availability of cookies

2241


Write a python program to check if a number is a prime number?

893


Code for Method of Handling Factorials of Any Size?

2547


determine which Element received an Event

2382


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

3112


write a simple calculator c program to perform addition, subtraction, mul and div.

3786