Practical Slip 3 - 2019 Pattern

C++:

A) Write a C++ program to interchange values of two integer numbers. (Usecall by reference).  [15 M]



PHP:


B) Write a script to create “cricket.xm1” file with multiple elements as shown below:

<CricketTeam>

<Team country="’Australia”>

<player>___</player>

<runs> </runs>

<wicket>__</wicket>

</Team>

</CricketTeam>

Write a script to add multiple elements in “cricket.xm]”file of category, country="India”’. [25 M]


Post a Comment

0 Comments