Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged isi-pcb-2015-sample
2
votes
1
answer
1
Programming in C
How many asterisks (*) in terms of k will be printed by the following C function, when called as count(m) where m = 3k? Justify your answer. Assume that 4 bytes are used to store an integer in C and k is such that 3k 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 Cfunction, when called as count(m) where m = 3k? Justify your answer.Assume that 4 bytes are used to...
smsubham
484
views
smsubham
asked
Feb 13, 2018
Programming in C
programming-in-c
isi-pcb-2015-sample
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register