Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lab/exp6/quizresults.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@
<li><b>For every recursive solution, there is a corresponding iterative solution</b></li>
True<br>
<br>

<li><b>What will be the ouptut of the following function call: fun2(20); where fun2 is defined as: </b> </li>
20 40 60 80 80 60 40 20<br>
<br>
<br>

<li><b>What will be the ouptut of the following function call: fun3(100); where fun3 is defined as: </b> </li>
6<br>
<br>

<li><b>What will be the ouptut of the following function call: fun4(4,3); where fun4 is defined as: </b> </li>
14<br>
13<br>
<li><b>A recursive function must necessarily make a call to itself. </b> </li>
<li><b>A base case (or end-condition) is required so that there is no infinite recursive calling of the same function.</b> </li>
<br>
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp8/quizresults.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
w[5] = \'n\';
printf("%s\n",w);
</pre>
segmentation fault<br>
indian<br>
<br>

<li><b> What will the follwing function output if word is "heLlO_WOrLd !" ?</b> </li>
Expand Down