What are the restrictions of a modulus operator?
No Answer is Posted For this Question
Be the First to Post Answer
Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))⦠For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Function calling procedures? and their differences? Why should one go for Call by Reference?
Why is C language being considered a middle level language?
What does 4d mean in c?
Can we add pointers together?
How many levels of pointers have?
What is the difference between volatile and const volatile?
Are local variables initialized to zero by default in c?
main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(ā%dā,x); }
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
how can we use static and extern?and where can we use this?