You are on page 1of 26

www.durgajobs.

com , continuous job updates for every hour

Sonata Company Profile

Sonata Software is a leading provider of IT consulting and software services globally. Combining unparalleled experience, domain expertise, best practices and comprehensive capabilities across various industries and business functions, Sonata collaborates with customers to help them effectively address their operational challenges and grow their businesses stronger. Headquartered in Bangalore, India, and with a customer base spread across the globe, you will find Sonata offices in the US, Europe, MiddleEast and the Asia-Pacific. With a broad set of capabilities and a proven Global Delivery Model, Sonata is poised to be the perfect partner of global firms in their outsourcing initiatives. It bring together a unique combination of breadth of capabilities, strong management focus and flexibility in engagement required to make their customer relationships a success. Sonata's services range from IT Consulting to Product Engineering Services, Application Development, Application Management, Managed Testing, Business Intelligence, Infrastructure Management, Packaged Applications and Travel Solutions. Their partnerships with global leaders enable them to work on the latest technologies that Sonata leverage to ensure enhanced business efficiencies for their customers. Their proficiency and commitment, combined with their partners strength and knowledge, makes them a trusted organization to work with. Contact: Sonata Software Ltd. APS Trust Building, Bull Temple Road Bangalore 560019, India Tel : +91-80-3097 1999

www.durgajobs.com , Sonata Exam Cracking KIT

Page 1

www.durgajobs.com , continuous job updates for every hour SONATA PAPER ON 19th MAY 2008
Sonata Whole Test Paper and Interview.. on 19th may,2008. APTITUDE ROUND: In this round they have given 50 questions which you have to answer in 12 minutes. In this round the most important thing is speed and accuracy. You should not waste even a second after you are given the paper. Some are multiple choice questions and some are fill in the blank type. You will be given an answer sheet where you have to mark your answer for multiple choice questions and write the answer for fill in the blank type questions. 1. General Mathematics (Like calculating costs of items from given data say 1pen this much 220 pens how much? identifying the odd one, Simple calculations etc.) 2. English : Words often confused(Why because they will give two words and ask us to identify the relation between them whether they are synonyms, antonyms or no relation etc), Idioms and Phrases(They will give a sentence and ask you to choose the meaning of the sentence from the given four options.). 3. Analytical: Syllogism based questions (Simple ones), Coding etc. Bits like Hyderabad: Andhra Pradesh then they will give four options; we have to select one option which is similar in nature as above given statement. Here the relation between the two words is Hyderabad is capital city of Andhra Pradesh. Technical Written( C/C++): 30 bits will be given and you have to answer them in 30 minutes. All are of multiple choice type .Our paper covered bits from different areas in c and c++. I remembered only a few bits which A bit on macros #define cube(x) x*x*x. You have to replace this code and follow the order of execution 1) #define cube(x) x*x*x main() { int a; a=6/cube(6)*6; printf(\n a=%da); }

www.durgajobs.com , Sonata Exam Cracking KIT

Page 2

www.durgajobs.com , continuous job updates for every hour


What is the output of the above program? Ans:216. (6/6*6*6*6 -> 1*6*6*6 ->216). Here order of precedence should be considered. Just substitute that macro instead of cube(6) as 6*6*6 but dont directly substitute 216 in the statement. Refer Yashavanth Kanethkars Test Ur C skills .U can find a lot of bits of this kind. 3) strstr is a function belonging to which header file <String.h> 4) A bit on priority of operators. You will be given four choices with different priorites from which you have to select the statement with correct priority. Arithmetic operators>Relational Operators>Assignment Operators. Operatoirs>Logical

5) A bit on switch case which is little tricky. Please refer Test your c skills by yashavanth Kanethkars text chapter 2: Control Structures. 6) A few bits on pointers .Same refer Test your c skills. 7) Difference between malloc () and calloc() statements. 8) A bit on Command line arguments.Its very easy one.He has a given a command line argument and asked us to give the no.of arguments passed. (Refer test your c skills.) myprog 1 2 main(int argc, char *argv[]) { . .. } How many arguments are passed to main. 1)2 2)3 3)10 4)8. Ans.Opt2. myprogram,1,2 are the three arguments that are passed to main. 9) A bit on scope and life time of variables(Refer Let us C by yashavanth kanetkar text book chapter: Storage classes in c for better understanding ).

www.durgajobs.com , Sonata Exam Cracking KIT

Page 3

www.durgajobs.com , continuous job updates for every hour


10)A bit on array int array[5]={1,2,3}; Then what is a[4] Ans:0 Why because a[0]=1,a[1]=2,a[2]=3 The taken as 0.So a[3],a[4] are taken as 0.

remaining are automatically

11)A bit on for loop. You should clearly understand the syntax and semantic of for loop to solve that bit. 12)Which of the following occupies less memory (Consider the platform as Windows.So char-1 byte,int 2 bytes ,float -4 bytes) 1)some structure will be given struct a{int a,b;float c;}; 2)union b{int a,b;float c;} 3)char a[10]; 4)int a,b,c,d; Ans: Opt1 occupies (2*2+4)=8 bytes Option 2 occupies only 4 bytes as Union allocates memory for the largest data type in its members .In this case memory for float c is allocated. Option 3 occupies 10 bytes. Option 4 occupies 8 bytes. Opt 2. Is the answer. 13)A bit on enum. 14)main() { int n=3; If(n=5) printf (Hyderabad); else printf(Vijayawada); //Of course it is not exactly given as Hyderabad and Vijayawada bit something else . which I didnt remember } What is the output of the program? 1) Hyderabad 2) Vijayawada 3) Error .. Ans) Opt 1 Why because we used n=5 here which is a non Zero value i.e. TRUE, Hence if (TRUE) then First statement will be executed. Hence Hyderabad is printed.

www.durgajobs.com , Sonata Exam Cracking KIT

Page 4

www.durgajobs.com , continuous job updates for every hour


15)There is a bit like this main() { int a=10,b=0,c=5 If ( a && b || c) printf(This is X); else printf(This is Y); } Output: This is X. Since a&&b yields False .But False || True. Hence the whole statement becomes true. (a=10 is a non zero value and hence true,b is 0 and hence false,c is 5 which is a non zero value and hence is true. T&&F=F and F||T=T.Hence the statement becomes true.) 16) main() { int a=10,b=11,c; c=a&b; printf(The value of c is %d,c); } What is the output: 1)10 2)20 3)0 4)ERROR. Ans.Opt.1 Since The operator used above is a bit wise operator. Hence we have to convert a and b into bits(Binary format). a=10-------->1010 b=11-------->1011 And a&b----------1010. The value is 10. A bit on Inheritance concept. A bit on Access specifiers concept. A bit on order of creation of Constructors for objects. Always objects are created from base class to derived class. A bit on Destructors. A bit on virtual functions.

www.durgajobs.com , Sonata Exam Cracking KIT

Page 5

www.durgajobs.com , continuous job updates for every hour


But if you go through the theory in above topics you can easily solve the bits. To solve these bits you need clear understanding of above concepts like Inheritance, Access specifiers, Constructors, Destructors, Virtual functions. C++ bits are relatively very easier than c. To practice c++ bits please refer Test your c++ skills by yashavanth Kanethkar. General English: Its very easy.30 Questions will be given and u have to solve them in 20 minutes. Fill in the blanks (like prepositions, articles) etc will be given. Fill in the blank with appropriate word will be given. 5 bits will be given of the following type: Eg1: In front of Office room you will find this: Leave your footwear outside 2) Walk slowly 3) No parking Choose the right option. Ans: Opt1. There is letter writing: Write an e-mail to your superior requesting him to grant leave for two days because of your personal reasons. Refer some formal letters in net. You will get an Idea on them. Its very easy. Paragraph writing: You must write at least 10 lines on one topic from the given 5 topics (choice 1/5). The topics are 1) Integrity in workspace 2)5 qualities an employee should have. I remembered only these two topics. For English, you dont need any kind of preparation if you are good at basics. This is all about second round.18 people cleared this round. Group Discussion: Friends everybody should be given a chance to speak. Now its my time to share my views. If you are cool you can get a lot of points in your mind, otherwise you will forget what you know. Speak confidently with a smiling face. Thats it. If you have these points in mind you can get through this round. After GD 10 members were selected for Interview. Iam the only student from our college. Technical Interview: If you are from Non IT branch, It is enough to have knowledge in c,c++,os and all your core subjects. But students from computer science background need to be thorough with all our subjects (cse related).

www.durgajobs.com , Sonata Exam Cracking KIT

Page 6

www.durgajobs.com , continuous job updates for every hour


Tech Questions: Question: What all did you learnt in your Engineering? (Common question to everybody.) Physics: Some problems on Kinematics. Eg: If a stone and a stop watch are given to you and asked to find the height of the tower, how will you find. Ans. Leave the stone from the top of the tower and calculate the time taken to reach ground. S=ut+ (1/2)at2 For a freely falling body, initial velocity u=0,t=time taken to reach ground(That u found using stop watch.) and acceleration a=g(For a freely falling body). This way u can find height (S). A few more problems like this which you can solve easily. Be thorough with all the formulae in Kinematics.[other equations are v2-u2=2as, v=u+at.] Chemistry: Some questions on periodic table. Just refer Periodic table and identify the characteristics of elements. (Dont go in depth.) What are reversible and irreversible reactions? Give an example. Dont get panic. Even if u doesnt remember it is not a big problem. Say u doesnt remember. Or Say Sorry. They will just see your confidence while answering these questions. Mathematics: Some questions Probability. Engineering Drawing: What is orthogonal view? What is Isometric view? on permutations and combinations,

EDC: What are semiconductors? What are p-type semiconductors and what are n-type semiconductors? Why Germanium and silicon are used in semiconductors? What is valency of silicon? DLD: Truth tables of NAND, NOR, EX-OR, AND, OR. Gates for NAND, NOR, EX-OR, AND, OR. If possible go through all the basic definitions in Basic Electronics.(capacitor,Inductor,Current,Voltage,Resistance,Transformer,Tr ansistor etc.).

www.durgajobs.com , Sonata Exam Cracking KIT

Page 7

www.durgajobs.com , continuous job updates for every hour


C Language: What do you know about C language? I spent almost 10-15 minutes in answering this question. Write any sorting algorithm? You may be asked to write any sorting algorithm. (Insertion Sort, Selection Sort, Bubble Sort, Shell sort, Quick Sort etc.).What is the best sorting algorithm and why? Write a searching technique in c? What are the differences between Header files and Library functions? Library functions consist of executable code where as Header files just consist of Declarations. Write a program to concatenate two strings without using built in functions. (It is better if u prepare to write code using pointers for all library functions in strings. Like strcat, strcpy, strrev, strcmp etc). What is portability? What is difference between c and c++. Did you write any program in c which you felt proud of???? Try to write any application. Dont say simple programs like palindrome, abundant nos, perfect no, deficient no, even or odd, prime no, Armstrong no, strong no. etc if you are from computers background. Write a program to print the prime numbers between 1 to 100. (The code must be efficient.) I used two loops.Print 2 first.Dont check the condition for even numbers(as 2 is the only even prime ).Check only for odd numbers.Hint: for(i=3;i<=99;i+=2) for(j=2;j<=i/2;j++). DBMS: What is DBMS? What is Normalization? Why is Normalization done? What are different Normal Forms and explain each. Small queries in sql.(Go through the basics in SQL.) Software Engineering: What is Software Engineering? What is SDLC (Software Development Life Cycle)? And what are the stages in it. Explain each stage.

www.durgajobs.com , Sonata Exam Cracking KIT

Page 8

www.durgajobs.com , continuous job updates for every hour


What are different process models? Which is the best process model and why? What is static testing and what is dynamic testing? Java: What are the differences between c++ and Java? Where is Java most useful? What is JVM? What is platform dependency? What are scripting languages? Be thorough with definitions in them (html? xml? etc). UNIX commands: If you are from computer science background, you must be thorough with UNIX commands. One of my friends were asked commands in UNIX, She was able to answer only a few commands but still got selected. Dont get panic when you are unable to answer in some area. It is better to know UNIX commands. Computer Organization: Explain memory management? Operating Systems: Be thorough with all the basic definitions What is OS? What is a deadlock? What is a Semaphore? What is paging? What are different scheduling algorithms? Explain? What is cache memory? What is virtual memory? What is a thread? What is multithreading, multitasking? Differences between Windows and Linux? Projects: If you have done any projects. They will ask you to explain. They will ask the reasons for which you have chosen this platform(c,c++,.net or java) to do the project. HR Round: Why should we recruit you? (Common question asked to everybody) Tell me about yourself? Tell me about your family background? If you are from non IT branch-Then they will ask you why do you want to join in a software company.?Be careful while answering this question. Dont say that salaries are high. You can say like this-- As software field requires people who are more

www.durgajobs.com , Sonata Exam Cracking KIT

Page 9

www.durgajobs.com , continuous job updates for every hour


innovative and who are good problem solvers and who can accustom to changes, Iam sure that Iam having all these qualities and can easily learn the required technical skills for being a software Engineer.(One way of answering the question). One thing I would like to mention is dont try to bluff the interviewer. When You dont know something, Say sincerely sorry. Be cool throughout the interview. Make some study on the company before attending the interview. Listen carefully to the power point presentation given by the HR during the pre placement talk in your college. Note down the points as you cant remember all the points till the interview. These points will help you to answer some HR questions. Dont put what you dont know in your resume. Be thorough with your resume.

www.durgajobs.com , Sonata Exam Cracking KIT

Page 10

www.durgajobs.com , continuous job updates for every hour Sonata Software Aptitude Test
1. Last month of an year (a) January (c) December 2. Select the odd one (a) January (c) Wednesday (b) February (d) November (b) February (d) November

3. Select the antonym of capture from the following (a) attack (c) condemn (b) Release (d) None of the above

4. Find the antonym of autumn (a) Spring (c) Summer (b) Winter (d) None of the above

5. One skirt requires 3.75 yards of cloth. How many skirts you can make from 45 yards? Ans: 12 skirts 6. How can you make a square from two triangles? 7. Is the meaning of Client and Customer, (a) same (c) no relation (b) contradictory

www.durgajobs.com , Sonata Exam Cracking KIT

Page 11

www.durgajobs.com , continuous job updates for every hour


8. Is the meaning of It's and Its, (a) same (c) no relation 9. Is the meaning of Canvas and Canvass, (a) same (c) no relation 10. Is the meaning of Ingenious and Ingenuous, (a) same (b) contradictory (c) no relation 11. Is the meaning of Credible and Credulous, (a) same (b) contradictory (c) no relation 12. Select the odd one out. (a) 1/4 (c) 1/6 (b) 1/3 (d) 1/18 (b) contradictory (b)contradictory

13. Select the least from the following. (a) 0.99 (c) 81 (b) 1 (d) 0.333

14. Find the next number in the series 1, 0.5, 0.25, 0.125 Ans: 0.0625 15. One dollar is saved in one month. Then how much dollar is saved in one day? Ans: 1/30 =0.0333$

www.durgajobs.com , Sonata Exam Cracking KIT

Page 12

www.durgajobs.com , continuous job updates for every hour


16. Y catches 5 times more fishes than X. If total number of fishes caught by X and Y is 48, then number of fishes caught by X? Ans: 8 17. Y catches 5 times more fishes than X. If total number of fishes caught by X and Y is 42, then number of fishes caught by X? Ans: 7 18. If a train covers 600m in 0.5 seconds, how long it will cover in 10 seconds? Ans: 3000m = 3km 19. The girl's age is twice that of boy, if the boy is four years old. After four years the age of the girl is Ans: 12 years 20. Sister's age is twice than that of the brother. If the brother's age is six, what is the sister's age after two years? Ans: 14 Yrs. 21. Two lemons cost 10 cents. Then one and a half dozen cost Ans: 90 cents 22. A clock is late by 1 minute 27 seconds in a month. Then how much will it be late in 1 day? Ans: 2.9 seconds 23. Which of the following figures together will make a triangle? Ans: a,b,c,d 24. Make a square by drawing only one line Ans: line 2-5, square 2-3-4-5-2

www.durgajobs.com , Sonata Exam Cracking KIT

Page 13

www.durgajobs.com , continuous job updates for every hour


25. Which of the following is the odd one? crew, constellation, companion, league, participants. Ans: companion 26. Opposite of Remote? (a) Far (c) Huge (b) Near (d) Village

27. Statement A: All great men are ridiculous; Statement B: I am ridiculous; Inference: I am a great man; (a) True (c) Not clear 28. Statement: Normal children are active; Inference: All children are active; (a) True (c) Uncertain 29. Next number in the series 1, 1/2, 1/4, 1/8 ? Ans: 1/16 30. In 6 seconds a light flashes once. In one hour how many times I flash? Ans: 601 times 31. At 20% discount, a cycle is sold at a selling price of 2500 Rs. What is the actual price? Ans: Rs. 3125 (b) false (b) False

www.durgajobs.com , Sonata Exam Cracking KIT

Page 14

www.durgajobs.com , continuous job updates for every hour


32. Statement A: A & B have same age; Statement B: B is younger than C; Inference: A is younger than C; (a) True (c) Uncertain 33. All chickens lay eggs (True/False) Ans: False 34. A invests $12000, B invests $8000, C invests $6000 and they got a profit of $1200. How much share A got more than B and C? Ans: 2/13 and 3/13 (b) False

www.durgajobs.com , Sonata Exam Cracking KIT

Page 15

www.durgajobs.com , continuous job updates for every hour Sample Technical Paper
1. { int i=1; switch(i) { case 1: printf("\nRadioactive cats have 18 half-lives"); break; case 1*2+4: printf("\nBottle for rent -inquire within"); break; } } Ans. No error. Constant expression like 1*2+4 are acceptable in cases of a switch. 2. Point out the error, if any, in the following program main() { int a=10,b; a>= 5 ? b=100 : b=200; printf("\n%d",b); } Ans. lvalue required in function main(). The second assignment should be Point out error, if any, in the following program

main()

www.durgajobs.com , Sonata Exam Cracking KIT

Page 16

www.durgajobs.com , continuous job updates for every hour


written in parenthesis as follows: a>= 5 ? b=100 : (b=200); 3. In the following code, in which order the functions would be called? a= f1(23,14)*f2(12/4)+f3(); a) f1, f2, f3 b) f3, f2, f1 c) The order may vary from compiler to compiler d) None of the above 4. { int i=4; switch(i) { default: printf("\n A mouse is an elephant built by the Japanese"); case 1: printf(" Breeding rabbits is a hair raising experience"); break; case 2: printf("\n Friction is a drag"); break; case 3: printf("\n If practice make perfect, then nobody's perfect"); } } a) A mouse is an elephant built by the Japanese b) Breeding rabbits is a hare raising experience c) All of the above d) None of the above What would be the output of the following program? main()

www.durgajobs.com , Sonata Exam Cracking KIT

Page 17

www.durgajobs.com , continuous job updates for every hour


5. What is the output of the following program?

#define SQR(x) (x*x) main() { int a,b=3; a= SQR(b+2); printf("%d",a); } a) 25 6. reported? 1. #define CIRCUM(R) (3.14*R*R); 2. main() 3. { 4. float r=1.0,c; 5. c= CIRCUM(r); 6. printf("\n%f",c); 7. if(CIRCUM(r))==6.28) 8. printf("\nGobbledygook"); 9. } a) line 1 b) line 5 c) line 6 7. #define FLOATPTR float* FLOATPTR a,b; a) float b) float pointer c) int d) int pointer d) line 7 What is the type of the variable b in the following declaration? b) 11 c) error d) garbage value In which line of the following, an error would be

www.durgajobs.com , Sonata Exam Cracking KIT

Page 18

www.durgajobs.com , continuous job updates for every hour


8. In the following code;

#include<stdio.h> main() { FILE *fp; fp= fopen("trial","r"); } fp points to: a) The first character in the file. b) A structure which contains a "char" pointer which points to the first character in the file. c) The name of the file. d) None of the above. 9. We should not read after a write to a file without an intervening call to fflush(), fseek() or rewind() < TRUE/FALSE> Ans. True 10. If the program (myprog) is run from the command line as myprog 1 2 3 , What would be the output? main(int argc, char *argv[]) { int i; for(i=0;i<argc;i++) printf("%s",argv[i]); } a) 1 2 3 b) C:\MYPROG.EXE 1 2 3 c) MYP d) None of the above

www.durgajobs.com , Sonata Exam Cracking KIT

Page 19

www.durgajobs.com , continuous job updates for every hour


11. If the following program (myprog) is run from the command line

as myprog 1 2 3, What would be the output? main(int argc, char *argv[]) { int i,j=0; for(i=0;i<argc;i++) j=j+ atoi(argv[i]); printf("%d",j); } a) 1 2 3 12. b) 6 c) error d) "123" If the following program (myprog) is run from the command line

as myprog monday tuesday wednesday thursday, What would be the output? main(int argc, char *argv[]) { while(--argc >0) printf("%s",*++argv); } a) myprog monday tuesday wednesday thursday wednesday thursday c) myprog tuesday thursday d) None of the above 13. In the following code, is p2 an integer or an integer pointer? typedef int* ptr ptr p1,p2; Ans. Integer pointer 14. Point out the error in the following program main() b) monday tuesday

www.durgajobs.com , Sonata Exam Cracking KIT

Page 20

www.durgajobs.com , continuous job updates for every hour

const int x; x=128; printf("%d",x); } Ans. x should have been initialized where it is declared. 15. { int y=128; const int x=y; printf("%d",x); } a) 128 b) Garbage value c) Error d) 0 16. What is the difference between the following declarations? const char *s; char const *s; Ans. No difference 17. { char near * near *ptr1; char near * far *ptr2; char near * huge *ptr3; printf("%d %d %d",sizeof(ptr1),sizeof(ptr2),sizeof(ptr3)); } a) 1 1 1 b) 1 2 4 c) 2 4 4 d) 4 4 4 What would be the output of the following program? main() What would be the output of the following program? main()

www.durgajobs.com , Sonata Exam Cracking KIT

Page 21

www.durgajobs.com , continuous job updates for every hour


18. If the following program (myprog) is run from the command line

as myprog friday tuesday sunday, What would be the output? main(int argc, char*argv[]) { printf("%c",**++argv); } a) m 19. b) f c) myprog d) friday If the following program (myprog) is run from the command line

as myprog friday tuesday sunday, What would be the output? main(int argc, char *argv[]) { printf("%c",*++argv[1]); } a) r b) f c) m d) y 20. If the following program (myprog) is run from the command line as myprog friday tuesday sunday, What would be the output? main(int argc, char *argv[]) { while(sizeofargv) printf("%s",argv[--sizeofargv]); } a) myprog friday tuesday sunday b) myprog friday tuesday c) sunday tuesday friday myprog d) sunday tuesday friday

www.durgajobs.com , Sonata Exam Cracking KIT

Page 22

www.durgajobs.com , continuous job updates for every hour


21. { int a=10; void f(); a=f(); printf("\n%d",a); } void f() { printf("\nHi"); } Ans. The program is trying to collect the value of a "void" function into an integer variable. 22. main() { int a[]={10, 20, 30, 40, 50}; char *p; p= (char*) a; } Ans. printf("\n%d",*((int*)p+4)); 23. main() { int a=10,*j; void *k; j=k=&a; Would the following program compile? In the following program how would you print 50 using p? Point out the error in the following program

main ()

www.durgajobs.com , Sonata Exam Cracking KIT

Page 23

www.durgajobs.com , continuous job updates for every hour


j++; k++; printf("\n%u%u",j,k); } a) Yes b) No, the format is incorrect c) No, the arithmetic operation is not permitted on void pointers d) No, the arithmetic operation is not permitted on pointers 24. According to ANSI specifications which is the correct way of declaring main() when it receives command line arguments? a) main(int argc, char *argv[]) b) main(argc,argv) int argc; char *argv[]; c) main() {int argc; char *argv[]; } d) None of the above 25. { int a; a=20; return a; } a) missing parenthesis in the return statement b) The function should be declared as int f(int a, int b) c) redeclaration of a above 26. { const char *fun(); *fun()='A'; } Point out the error in the following program main() d) None of the What error would the following function give on compilation? f(int a, int b)

www.durgajobs.com , Sonata Exam Cracking KIT

Page 24

www.durgajobs.com , continuous job updates for every hour


const char *fun() { return "Hello"; } Ans. fun() returns to a "const char" pointer which cannot be modified 27. { const int x=5; int *ptrx; ptrx=&x; *ptrx=10; printf("%d",x); } a) 5 28. b) 10 c) Error d) Garbage value A switch statement cannot include What would be the output of the following program? main()

a) constants as arguments b) constant expression as arguments c) string as an argument d) None of the above 29. { printf("\nSonata Software"); main(); } a) infinite loop 30. b) until the stack overflows c) All of the above d) None of the above On combining the following statements, you will get char*p; How long the following program will run? main()

www.durgajobs.com , Sonata Exam Cracking KIT

Page 25

www.durgajobs.com , continuous job updates for every hour


p=malloc(100); a) char *p= malloc(100) c) All of the above 31. { int n=5; printf("\nn=%*d",n,n); } a) n=5 b) n=5 c) n= 5 d) error main() b) p= (char*)malloc(100) d) None of the above

What is the output of the following program?

www.durgajobs.com , Sonata Exam Cracking KIT

Page 26

You might also like