How do I swap bytes?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

0 Answers  


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

2 Answers  


What is your favorite subject?

1 Answers   Ericsson, Invendis, Tech Mahindra,


how do you redirect stdout value from a program to a file?

1 Answers  


What are the rules for identifiers in c?

0 Answers  


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

0 Answers  


write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?

3 Answers   Broadcom, TCS,


What is operator promotion?

0 Answers  


How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran

0 Answers  


what is self refrential structure

3 Answers   HCL,


Write a factorial program using C.

0 Answers   iNautix,


how to find a 5th bit is set in c program

4 Answers   IBM,


Categories