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...

Topic :: Program





Program Interview Questions
Questions Answers Views Company eMail

Read the following program carefully and write the output of the program. Explain each line of code according to given numbering. #include #include #include #include 1……………… int main (void) { pid_t pid; 2………………………… pid = fork(); 3…………………………. if (pid > 0) { int i; 4………………………… for (i = 0; i < 5; i++) { 5………………… …………… printf(" I AM VU : %d\n", i); 6………………… …………… sleep(1); } exit(0); } 7………………… ……… else if (pid == 0) { int j; for (j = 0; j < 5; j++) { 8……………………………… printf(" I have no child: %d\n", j); sleep(1); } _exit(0); } else { 9………………………………fprintf(stderr, "can't fork, error %d\n", errno); 10……………… … ………… exit (EXIT_FAILURE); } }

1 4819

Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.

1 15064

What are u looking for MBA program

2 4936

Write a program that print in screen a tree with its height taken from user by entering number of 4 digits and find the odd numbers then calculate the sum of odd numbers so he get the height of tree?

3327

Write a program in Java to display the IP address of the local and remote machine.

Annamalai University,

2153

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.

2579

Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1964

write the prime number of program?in php

TCS,

2 11550

Write a programe print the sum of series 0,1,2,.....10

7 7429

which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 11700

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

HCL,

1 3911

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

HCL,

5 11349

Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 15486

) Layout? What is the Dataset & Program Component Layout

TCL,

2 7434

How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?

CSC, IBM,

1 6671




Un-Answered Questions { Program }

what is the include program name?

2092


What is the program to maintain change run?

2128


What does the program RSMDCNVEXIT check?

2502


What is the alpha check execution program?

2183


How does u handle this COM components developed in other programming languages in .NET?

2087


Allowed program to auto-correct the database when loading a presentation.

2208


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

11904


Which is your favorite editor, shell, programming shell and why?

2492


What is the term for decomposing a software program so that latent design information can be extracted? 1. Reengineering 2. Regression 3. Restructuring 4. Reusability 5. Reverse engineering

2190


Program for Prime numbers and Matrix plz explain me the procedural method with steps

2725


What is unique about B.L.M business that would impact the future client/server architechture or software needs of your G.I.S programme?

2218


HOW TO TRANSFER VENDOR MASTER DATA FROM LEGACY SYSTEM TO SAP SYSTEM THRU LSMW (IN LSMW, USING DIRECT INPUT PROGRAM:RFBIKR00)

3729


Enhance the Debug() function so that the programmer has to press Enter or Return after debugging is deactivated?

2471


How will you make .NET programs work in Linux ?

1986


What are the functions of the typical server program?

2766