In C, What is the #line used for?
Answers were Sorted based on User's Feedback
The #line directive tells the preprocessor to set the compiler's reported values for the line number and filename to a given line number and filename.
| Is This Answer Correct ? | 2 Yes | 0 No |
The #line directive tells the preprocessor to set the compiler's reported values for the line number and filename to a given line number and filename.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 are data structures in c and how to use them?
What is nested structure with example?
Is fortran still used today?
What is alloca() and why is its use discouraged?
If the size of int data type is two bytes, what is the range of signed int data type?
How can I read and write comma-delimited text?
write a c program to add two integer numbers without using arithmetic operator +
What's the best way of making my program efficient?
How many levels of pointers can you have?
Explain what is meant by 'bit masking'?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?