#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 the importance of spanning tree?
What is the use of function overloading in C?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Is there a built-in function in C that can be used for sorting data?
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
Tell us the use of fflush() function in c language?
. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.
ABCDCBA ABC CBA AB BA A A
What is break in c?
What is this infamous null pointer, anyway?
what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }
which type of question asked from c / c++ in interview.