#ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
Answers were Sorted based on User's Feedback
Answer / jai
Compilation error since 1) TRUE definition is not visible
in above program, 2) i variable is not declared.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rohit
Compilation error due to 'i' is not declared only.
Not cause by visibility of TRUE macro.
Is This Answer Correct ? | 1 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
There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
Write a program to generate the Fibinocci Series
what is the format specifier for printing a pointer value?
What is bubble sort in c?
What is meant by int fun const(int a, int b) { .... ... }
wat s the meaning of (int *)p +4;
Is it possible to execute code even after the program exits the main() function?
What are the types of data types and explain?
write a program to display the frequency of each element in a given array in c language
what are advantages of U D F?
wats the diference btwen constant pointer and pointer to a constant.pls give examples.