Code Snippets Interview Questions
Questions Answers Views Company eMail

To reverse an entire text file into another text file.... get d file names in cmd line

Subex,

2288

Data Reader Vs DataSet

TCS,

5 7319

#include //main() //{ class A { friend class B; public: void read(); }; class B { public : int a,b; }; void A::read() { cout<<"welcome"; } main() { A x; B y; y.read(); } In the above program......, as B is a friend of A B can have access to all members,i cant access y.read . could you please tell me the reason and what would i code to execute this program?

2 5550

1.program to add any two objects using operator overloading 2.program to add any two objects using constructors 3.program to add any two objects using binary operator 4.program to add any two objects using unary operator

IBM,

2 22923

plz tell me the exam date for clerks in sbi

ASD Lab,

1777

Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly.

ABC, Guidance Software,

3387

WORKING STORAGE 01 WS-LENGTH PIC 9(1) VALUE 5. 01 DFHCOMMAREA. COPY ABCDEF (COPYBOOK ABCDEF IS HAVING ONLY ONE VARIABLE OF LENGTH X (100).) .. PROCEDUER DIVISION. ... EXEC CICS XCTL PROGRAM (WS-PGM) COMMAREA (DFHCOMMAREA) LENGTH (WS-LENGTH) RESP (WC-RESPONSE) END-EXEC 1. What will be the value of EIBCALEN in program ABCDEF? 2. What will be length of commarea when in ABCDEF? 3. Will such a code thow any error while linking to called program? Thanks in Advance

3229

how to upload an excel in c# ASP.Net?

3 8340

Listview design in .net

1 6826

ArrayList declaration in .net

2733

working with fileUpload ?

1 4661

working with arrays

1 3099

Can you declare an array of mixed Types?

HCL,

1 5209

what full form name of B.K.U.

2672

DAL in oracle

1 4697


Un-Answered Questions { Code Snippets }

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.

2629


How to get one hasmap value in another hashmap ,only value not key

919


i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this

2131


Write a python program to find the second largest number in a list?

471


I am configuring my anaconda file in linux, i want to use as kickstart file, in post installation how can i edit file or change the content of file and save it.

1929






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

2391


A game that has five levels of play has the score for each level stored in an array. You are to write a program that goes through that array and finds: a) the minimum score, and the level at which it occurred b) the maximum score, and the level at which it occurred c)the average score for all five levels The score data you must use for this program are as follows: Game Level Score 1 450 2 316 3 148 Stack implementations is mandatory.

2105


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

1843


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

2904


how to Scroll a DIV content

2148


Why XML has been used for development?

315


Write a python program to check common letters in two input strings?

475


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

2550


How to run the Result Intemation System project in java for collage student in which result of internal exam marks send on parents mobile using SMS? what software required to run this project? please reply immediately...

2586


Code for Easily Using Hash Table?

2375