#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 |
How many types of sorting are there in c?
Stimulate calculator using Switch-case-default statement for two numbers
how to find the size of the data type like int,float without using the sizeof operator?
What are the different types of pointers used in c language?
How many keywords (reserve words) are in c?
How are portions of a program disabled in demo versions?
write a program to display reverse of a number using for loop?
How can I sort more data than will fit in memory?
What are the various types of control structures in programming?
Why functions are used in c?
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
What is mean by data types in c?