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

Can we change the validator-rules.xml for our own validations in struts??

Mastek,

2796

#include int main() { int a=3,post,pre; post= a++ * a++ * a++; a=3; pre= ++a * ++a * ++a; printf("post=%d pre=%d",post,pre); return 0; }

3 6777

Write a (n) algorithm that sorts n distinct integers, ranging in size between 1 and kn inclusive, where k is a constant positive integer. (Hint: Use a kn-element array.)

4933

PROBLEM #8 The cashier at the counter of a Super Store, Mr. Khazaanchi has the following bundles of rupee cash notes with him: Rs. 1, 2, 5, 10, 50, 100, 500, 1000 A customer comes at his counter with various items that he has shopped. Mr. Khazaanchi totals the item prices and tells the customer his total amount payable. The customer gives Mr. Khazanchi some amount of cash. Find the total number of rupee notes of each denomination (i.e. 1, 2, 5, 10, 50, 100, 500, 1000) Mr. Khazaanchi will have to give to the withdrawer ensuring that the total number of rupee notes are minimum.

AR, ARJ,

1 6577

what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

Wipro,

3 6267

void main() { int c; c=printf("Hello world"); printf("\n%d",c); }

2 5551

x=2 y=3 z=2 x++ + y++; printf("%d%d" x,y);

2 6301

write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.

HCL, SRCASW,

4514

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

HCL,

2838

create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file

HCL,

2673

how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

Mbarara University of Science and Technology,

2617

c# code to Count number of 1's in a given range of integer (0 to n)

4741

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

1972

find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.

2290

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

2233


Un-Answered Questions { Code Snippets }

How can I Create a C program in splitting set of characters to specific subsets. Example: INPUT SET OF CHARACTERS: Therefore, my dear brothers and sisters, stand firm. Let nothing move you. Always give yourselves fully to the work of the Lord, because you know that your labor in the Lord is not in vain. SPLIT INTO HOW MANY CHARACTERS PER SUBSETS: 10 OUTPUT: Therefore, my dear b rothers an d sisters, stand fir m. Let not hing move you. Alway s give you rselves fu lly to the work of t he Lord, b ecause you know that your labo r in the L ord is not in vain.

2461


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; }

2528


How can restrict user to type upto 8 characters in textbox in php?

1910


Code for Presenting Parent/Child Data in a Data Grid Row?

2493


Write a Program to find whether the given number is a Armstrong number.

786


Write a python program to count the number of digits in a number?

844


write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n

2817


Write a script to delete all the files in a folder except one desired file.

1281


How can you print an address of a variable?

822


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

2861


How to add flash or *.gif file in edit panel in java?

2240


code to Hide and Show form controls

2236


Develop a routine to reflect an object about an arbitrarily selected plane

3553


c# code to Count number of 1's in a given range of integer (0 to n)

4741


Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.

4893