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 :: Wing





Wing Interview Questions
Questions Answers Views Company eMail

what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

IBM,

2 11658

What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

IBM,

3 9066

What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation

IBM,

10 15099

which of the following is not used for client/server. i)RPC,ii)TCP/IP,iii)MESSAGEQs,iv)None

Verifone,

3 7440

Which of the following commands, when issued by 2 different programs running at the same time, will prevent simultaneous use of resource 'SINGLE'?

1 4085

What does the following transactions do?

1 4933

Name the macros used to define the following: MAP MAPSET FIELD

2 5777

Which of the following are recoverable CICS resources?

IBM,

1 5802

Which of the following statements correctly describe the syntax of CICS command language?

1 5767

What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?

3 20399

Hi, The Following synonyms asked at TCS test.. 1. To merry = 2.To Alienate = 3.To Solicit = 4.To Heep = 5.Cargo = 6.Momentary = 7.Volume = 8.To Veer = 9.To Admonish= 10. To Meager = 11. To lattitude= 12. Latent = 13. To Covet = 14. To Discretion = 15. Potential = 16. To Emancipate= 17. To Wethargy= 18. To Concur = 19. To Confiscate = 20. To Dispel = 21. Baffle = 22. Subsidise = 23. Misery = 24. Pretentrous = 25. Tranquil = 26.Ellace= 28.Rinaile= 29.Obstinate= 30.Hover = 31.Caprice= 33.Belate = 34.Brim = 35.Divulge= 36.Lamont= 37.Bileaf= 38. Embrace = 39.Adhesive = 40. Miserable = pls. Post the answers for the above not in total..what ever u knows..thanks in advance..

Satyam, TCS,

11 21010

What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.

CCEM, TCS,

5 22014

What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.

TCS,

11 27215

Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.

FCI, TCS,

6 21004

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a));

TCS,

6 12613




Related Topics


Un-Answered Questions { Wing }

What are advantages of using Java?s layout managers than windowing systems?

2371


How to synchronize slow growing bacterial species of Cyanobacteria, Thiobacilli, Mycoplasma?

1916


What Testing process U r following in ur organization?

2379


what r the strategies & methodologies r u following in preperation of test cases based on usecase?

2087


Which one of the following activities is the most efficient and most cost effective at identifying defects? 1. Prototyping 2. Unit test 3. Beta test 4. Design/code inspection 5. Risk analysis

2082


The Following Characterstics posses some XYZ company. * Uses formal standards and policies * Conducts software inspections * Has advanced configuration management and change control * Uses CASE tools * Has a software engineering process group * Gathers metrics on process and quality * Requires that developers have formal software engineering training * Practices continued process improvement Based on aboue , Tell me which CMM Level is the company..? 1. Level 1 - Initial 2. Level 2 - Repeatable 3. Level 3 - Defined 4. Level 4 - Managed 5. Level 5 - Optimizing

2186


Rules of civil law are different than that of criminal law. Are you prepared to enter this knowing that there is little guidance from within our office?

2276


During a heart attack, blood flowing to the heart muscle is interrupted by blockage of a coronary artery. How would you expect the metabolism in the heart to change?

3080


A 22 year old woman collapses following Neville Barnes forceps delivery of the second twin. She is hypotensive and tachycardic and the estimated blood loss is now 800ml. How would you manage this situation?

3463


I'm new to sewing, and I need to know what are some good pieces to start with?

2174


Which namespace do the classes, allowing you to support COM functionality, are located?

2613


Who was the first person to recognize that true flies have two wings and gave them the name ?Diptera??

2057


Who was the first person to recognize that true flies have two wings and gave them the name ?Diptera??

1987


What is the trouble in growing streptococcus species?

2176


What are the Conditions for growing slow-growing mycobacteria?

1967