Programming Code Interview Questions
Questions Answers Views Company eMail

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

CTS,

1140

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

1107

I have multiple datasets and I have to search a particular string in all of them at a single time. Please suggest a full jcl or rexx tool for it.

840

#define a 10 int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } void foo() { #undef a #define a 50 }

3 3033

#define a 10 void foo() { #undef a #define a 50 } int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } explain the answer

1 2965

What is your nationality?

GoDB Tech,

1 6230

#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

Student,

1308

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

Amazon,

752

Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

InterGraph,

648

Write a Program to truncate a given floating point value (e.g.16.25=16).

InterGraph,

687

Write a Program to find the sum of digits of a given number until the sum becomes a single digit.

InterGraph,

666

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

InterGraph,

637

Devise a program to implement the Fibonacci sequence.

Tech Mahindra,

671

Write a Program to find the number of words in a sentence.

InterGraph,

690

How can you print an address of a variable?

TCS,

665


Un-Answered Questions { Programming Code }

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

2283


Is there any static classes are in java give some examples

1863


how to diplay a external image of output on winxp by using c & c++,

3175


what is runtime class?

2423


write a c program which takes 20 numbers in an array as input from user and rearrange them in two different array defining even or odd

2819


Create a program to read two random data set in two files named data1.txt and data2.txt manifold contains integer numbers, whereas data2.txt file contains the float type numbers. Simpanlahmasing each into 2 pieces of data that is an array of type integer array and an array of type float, then calculate the average numbers in the second array.

2373


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.

2179


Code for Document Validation in XML.NET?

2148


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!!!)

3511


write a program using virtual function to find the transposing of a square matrix?

3100


Using C# Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9 The program should check the high number that the user inputs to ensure that it does not exceed the size of any array you might be using for storage.

3939


develop a program to calculate and print body mass index for 200 employees

2418


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

2290


program for straight line(y=mx+c)

5731


write a program to perform generic sort in arrays?

2811