• recategorized by
380 views

1 Answer

Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
305
305 views
Shubham Sharma 2 asked Sep 9, 2025
305 views
Consider the following C code:#include<stdio.h int temp = 0; int fun(int x, int y) { int z; temp++; if (y==3) return(x*x*x); else { z=fun(x, y/3); return(z*z*z); } } int ...
1 1 vote
1 1 answer
398
398 views
Shubham Sharma 2 asked Sep 9, 2025
398 views
Arrange the following recurrence relations in increasing order of their time capacity.$\mathrm{T}(\mathrm{n})=\mathrm{T}(\mathrm{n} / 2)+1$$\mathrm{T}(\mathrm{n})=2 \math...
0 0 votes
1 1 answer
402
402 views
Shubham Sharma 2 asked Sep 9, 2025
402 views
Match List - I with List - II.$\begin{array}{llll} & \textbf{List - I} & & \textbf{List-II} \\ & \textbf{(Recurrence Relations)} && \textbf{(Complexity)} \\ \text{(A)}& \...
1 1 vote
2 2 answers
403
403 views
Shubham Sharma 2 asked Sep 9, 2025
403 views
#include<stdio.h void main() { int arr[]={1, 2, 3, 4, 5}; int *p=arr; printf("%d", *p++); printf("%d", *(p+1)); }Find the output of the above code?$1,2$$1,3$$2,3$$1,4$