How do I swap bytes?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
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
What is your favorite subject?
1 Answers Ericsson, Invendis, Tech Mahindra,
how do you redirect stdout value from a program to a file?
What are the rules for identifiers in c?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?
What is operator promotion?
How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran
what is self refrential structure
Write a factorial program using C.
how to find a 5th bit is set in c program