Code Snippets Interview Questions
Questions Answers Views Company eMail

How we print the table of 3 using for loop in c programing?

7 10493

what is the use of using for loop as "for(;;)"?

Satyam,

5 7030

How to count a sum, when the numbers are read from stdin and stored into a structure?

1 3854

how many processes will gate created execution of -------- fork(); fork(); fork(); -------- Please Explain... Thanks in advance..!

GATE,

8 22588

What is an XML? Difference between HTML & XML?

LG Soft,

2 4520

how the value of label is printed through a button in asp.net web application

3 5052

how to print 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 using any loop(for or while) only once(only 1 loop) and maximum 2 variables using C.

Cap Gemini, Infosys,

19 41689

Assume in University Every student in university as entity, prepare a class for student that store the roll no, name, dob of student, and make funtion of deletion, manipulation, addition of student record.

2301

What is data _null_? ,Explain with code when u need to use it in data step programming ?

Abbott,

2826

why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2265

What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

1 3716

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

2413

can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

TCS,

2333

can any one give me code to keyed a flat file and used chain in RPGLE to search any item

1704

#include #include void main() { char str[10]; int,a,x,sw=0; clrscr(); printf("Enter a string:"); gets(str); for(x=0;x<=a;a++); for(x=0;x<=a;x++) { if(str[x]==str[a-1-x]) { sw=1; } else sw=0; } if(sw==10 printf("The entered string is palindrome:"); else printf("The entered string is not a palindrome:); } getch(); } wht would be the explanation with this written code???

2 8605


Un-Answered Questions { Code Snippets }

What are the features of XML?

356


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

3151


Write a function which accepts list of nouns as input parameter and return the same list in the plural form. Conditions: i) if last letter is r then append s ii) if word ends with y then replace it by ies iii) call this function in main() and produce the required output. for eg:- if chair is input it should give chairs as output.

3989


plz send code for feature rich resume builder in j2ee frontend:J2EE Backend: DB2 Express

3187


Why XML has been used for development?

323






Code for Method of Handling Factorials of Any Size?

2002


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

4301


How to store the iterations value in some variable/ in excel? Dim objExcel, ObjFolder, objPath, objWorkbook, objSheet, ObjFSo, ObjFolderName, strExcelPath Const xlExcel7 = 39 ObjFolderName = "Testing" & Hour(time()) & Minute(time()) &Second(time()) objPath = "D:\" strExcelPath = objPath & ObjFolderName & "\testing.xls" Set ObjFSo = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.CreateFolder(objPath & ObjFolderName) On Error Resume Next Set objExcel = CreateObject("Excel.Application") If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Excel application not found." Wscript.Quit End If On Error GoTo 0 Set objWorkbook = objExcel.Workbooks.Add() Set objSheet = objExcel.ActiveWorkbook.Worksheets(1) Dim arr1, arr2, arr3 Set outputLines = CreateObject ("System.Collections.ArrayList") arr1 = 123arr2 = 99 arr3 = 10 outputLines.Add arr1 outputLines.Add arr2 outputLines.Add arr3 outputLines.Sort() For Each outputLine in outputLines WScript.Echo outputLine ' how to store this value in excel/ variable? Next objExcel.ActiveWorkbook.SaveAs strExcelPath, xlExcel7 objExcel.ActiveWorkbook.Close objExcel.Application.Quit This above code is working fine but the qs is is there any way to store the sort data in variables / in the excel and how?

2465


Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?

2561


What is the code of Password Recovery or Forget your password? Plz tell in c # language.

3573


write a program that creates a sequenced array of numbers starting with 1 and alternately add 1 and then 2 to create the text number in the series , as shown below. 1,33,4,6,7,9,............147,148,150 Then , using a binary search , searches the array 100 times using randomly generated targets in the range of 1 to 150

3264


How to update and insert from datagridview at run time in excel database?

2765


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

462


What are the benefits of XML?

343


Who is responsible for XML?

368