Code Snippets Interview Questions
Questions Answers Views Company eMail

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

7 11395

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

Satyam,

5 7591

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

1 4130

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

GATE,

8 23447

What is an XML? Difference between HTML & XML?

LG Soft,

2 4783

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

3 5413

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 43522

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.

2471

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

Abbott,

2983

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 ?

2460

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

1 3993

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

2586

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,

2526

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

1803

#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 9079


Un-Answered Questions { Code Snippets }

Design an implement of the inputs functions for event mode

3125


Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?

8293


What is the functionality of FindWindow?

568


I have this code in leftmenu.ascx page..now on leftmenu.ascx.cs page i want to access id values. but i dont want to check manually like Accommodation,Arts etc.. In cs file my code is like string str[]; //this array contains some values say 10 strings for(i=0;i<100;i++) { if(str[i]==id id.visible=true } i.e.i want to travel for each element of str and each value of id.if they match then id.visible=true how to do?

4009


how to create a search bar which access data from various websites and retrieves the data

2682






Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37

2238


What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?

1105


write a program in java to find the moving average of all prime numbers between 2 and 100.

3749


create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00

6531


Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].

1488


function to combine two or more arrays

1832


i am doing my final year project about programming use verilog ,i am new about it so got problem,i want to record the readings of a waveform every 2us use the verilog code ,every ten readings i need to add them together after that i need to compare this series of number to get which one is the biggest , right now i don't know how to use code to store the readings every 2us on a waveform ,pls help me thanks a lot .

1815


Do you think about CMM(Capability Maturity Model) process?

713


How we use ajax in asp.net through javaScript. Please givee me an example.

2674


Write a Program to find the reverse of a given number.

600