Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by AdityaKr
4
answers
1
ISICAL MTech 2014 CS
How many asterisks $(*)$ in terms of $k$ will be printed by the following C function, when called as $\text{count}(m)$ where $m = 3^k \ ?$ Justify your answer. Assume that $4$ bytes are used to store an integer in C and $k$ is such that $3^k$ can be stored in $4$ bytes. void count(int n){ printf("*"); if(n>1){ count(n/3); count(n/3); count(n/3); } }
How many asterisks $(*)$ in terms of $k$ will be printed by the following C function, when called as $\text{count}(m)$ where $m = 3^k \ ?$ Justify your answer.Assume that...
1.6k
views
answered
Dec 7, 2017
Programming in C
programming-in-c
recursion
isi2014
+
–
6
answers
2
GATE IT 2006 | Question: 49
Which one of the choices given below would be printed when the following program is executed ? #include <stdio.h> struct test { int i; char *c; }st[] = {5, "become", 4, "better", 6, "jungle", 8, "ancestor", 7, " ... $\text{etter, u, 6, ungle}$ $\text{cetter, k, 6, jungle}$ $\text{etter, u, 8, ncestor}$
Which one of the choices given below would be printed when the following program is executed ?#include <stdio.h struct test { int i; char *c; }st[] = {5, "become", 4, "be...
27.1k
views
commented
Oct 28, 2017
Programming in C
gateit-2006
programming
programming-in-c
normal
structure
+
–
0
answers
3
Peter linz
Is (L1 U L2)^R = L1^R U L2^R ?
Is (L1 U L2)^R = L1^R U L2^R ?
270
views
asked
Sep 11, 2017
1
answer
4
Toc Peter Linz
can anyone provide solution of Toc Peter Linz 6th edition ?
can anyone provide solution of Toc Peter Linz 6th edition ?
1.6k
views
commented
Sep 11, 2017
Theory of Computation
theory-of-computation
peter-linz
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register