Question 1. [10] Find the output of the following program segment #include char *c[]={“ENTNG”, “NST”,”AMAZI”,”FIRBE”}; char** cp[]={c+3, c+2, c+1, c}; char ***cpp= cp; void main() { printf(“%s”,**++cpp); printf(“%s “,*–*++cpp+3); printf(“%s”,*cpp[-2]+3); printf(“%s”,cpp[-1][-1]+1); } Question 2. [5] Write a function delete(struct node** Head) to delete the linked list node by node by deallocating them from the memory [...]
Posts Tagged ‘C & C++’
MICROSOFT PAPER ON 5TH SEPTEMBER,2008
Posted: April 4, 2009 in Placement PapersTags: C & C++, Microsoft
Compaq Placement Paper (OS, Networking & C)
Posted: February 10, 2009 in Placement PapersTags: C & C++, Compaq
Paper: Compaq Placement Paper (OS, Networking & C) 1.Why paging is used ? 2.Which is the best page replacement algo and Why ? 3.What is software life cycle ? 4.How much time is spent usually in each phases and why ? 5.What is testing ? 6.Which are the different types of testing ? 7.Which are [...]
C Sharp Interview Questions 1) Explain about C#? Ans:-C # is also known as c sharp. It is a programming language introduced by Microsoft. C# contains features similar to Java and C++. It is specially designed to work with Microsoft .NET platform. 2) Explain about the rules for naming classes in C#? These are the [...]
Accenture IDC Recruitment Latest Paper (Technical-C)
Posted: February 10, 2009 in Placement PapersTags: Accenture, C & C++
Paper: Accenture IDC Recruitment Latest Paper (Technical-C) 1.Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A)a,b&c B)Only a & b C)Only c D)All 2.What is the [...]
Convergys Placement Paper (Aptitude, C C++ & VB)
Posted: February 10, 2009 in Placement PapersTags: Aptitude, C & C++, Convergys
Paper: Convergys Placement Paper (Aptitude, C C++ & VB) Aptitude : 1) All the children were arranged in rows. all the rows containing equal no. of students. if 4 students were removed from each row 10 more rows had to be added. if 5 students were added in each row no. of rows were reduced [...]


