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 4964

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 15229

What are u looking for MBA program

2 5139

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?

3409

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

Annamalai University,

2253

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.

2670

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.

2055

write the prime number of program?in php

TCS,

2 11728

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

7 7839

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

1 11870

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

HCL,

1 4053

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

HCL,

5 11714

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 15681

) Layout? What is the Dataset & Program Component Layout

TCL,

2 7627

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

CSC, IBM,

1 6841




Un-Answered Questions { Program }

what is the include program name?

2174


What is the program to maintain change run?

2192


What does the program RSMDCNVEXIT check?

2590


What is the alpha check execution program?

2271


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

2166


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

2312


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

12051


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

2577


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

2262


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

2811


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?

2281


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

3825


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

2571


How will you make .NET programs work in Linux ?

2061


What are the functions of the typical server program?

2867