#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 |
what is ur strangth & weekness
0 Answers Cognizant, LG Soft, NetEnrich,
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
What is the difference between near, far and huge pointers?
What is the most efficient way to count the number of bits which are set in a value?
Can you think of a way when a program crashed before reaching main? If yes how?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Why can arithmetic operations not be performed on void pointers?
What is c variable?
What is the benefit of using #define to declare a constant?
What are pointers? What are different types of pointers?
Will Macros support multiple arguments ?
Write a program to print “hello world” without using semicolon?