DESHAW placement papers --------- placement paper 4

Answer Posted / guest

DESHAW Placement Papers | DESHAW Interview Procedure |
DESHAW Aptitude Questions | DESHAW TechniDESHAWl Questions
| DESHAW Interview Questions




SECTION-A

you should write the programs for the following problems
in C.

1. swapping two variables x,y without using a temporary
variable.
2. a program has been given asking to find the output
ans. it is algorithm for finding G.C.D
3. write a program for reversing the given string.
4. the integers from 1 to n are stored in an array in a
random
fashion. but one integer is missing. write a program to
find the
missing integer.
ans. idea. the sum of n natural numbers is = n
(n+1)/2.
if we subtract the above sum from the sum of
all the
numbers in the array , the result is nothing
but the
missing number.
5. some bit type of questions has been given on pointers
asking to
to find whether it is correct from syntax point of
view. and if
it is correct explain what it will do.(around 15 bits).



DESHAW Placement Papers | DESHAW Interview Procedure |
DESHAW Aptitude Questions | DESHAW TechniDESHAWl Questions
| DESHAW Interview Questions

SECTION-B

ANSWER AS MANY AS POSSIBLE.

6.& 7. two programs on pre-processor directions has been
given asking
to find the output.
8. simple question given on pointer
a) kernighan & richie page no. 122
b) schaum series page no. 323
try to understand the pointer problems given here he
asked to
explain
in the interview if answer it in exam.
9. write a c program to find whether a stack is
progressing in forward
or reverse direction.
10. write a c program that reverses the linked list.

GUIDELINES:
the interview is very tough he is asking to do the
problems in
front of him. he is also giving some new problems to
solve before
him.
you should have a very good funda of C language.


DESHAW Placement Papers | DESHAW Interview Procedure |
DESHAW Aptitude Questions | DESHAW TechniDESHAWl Questions
| DESHAW Interview Questions

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi.. Guys Im pranitha, presently im working in a organisation & im look for job at MNC's like DELL, Delloitte, Bank of America, Genpect, etc., I have completed B.com . Pls help me...

1147


your project to describe and tell about : 1. My favorite things 2. My favorite places at home 3. Animals *Choose one of them to describe *Write on your paper *If you done, Send me *Did you get it

784


Danlaw placement questions and answers

1356


Recently conducted Apptitude test

1409


What were the occupations of the people who lived within the Mauryan Empire?

581






email me previous question papers of bob bank for po exams

2060


what you will do when you struck in traffic ?

1051


speak 1min on topic Travelling,memorable moment ,memorable day?

1740


printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output

1394


why didn't get placed so far?

1192


If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

3894


What are the frequently asked questions for interview in capital iq company ?

1324


Do we have vacancy for HR RECRUITER ?

1380


Sks Microfinance

982


my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef abc*$#1___ cdef____ghi a_z_k_h___ 4_3_2_1___ ______5678 output file: 8765_____ 1_2_3_4__ h_k_z_a__ ihg____ghi 1#$*cba__ fedcb4321

1194