#ifdef TRUE
int I=0;
#endif

main()
{
int j=0;
printf("%d %d\n",i,j);
}

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any demerits of using pointer?

632


What is the explanation for the dangling pointer in c?

683


What does the file stdio.h contain?

608


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

626


How do you generate random numbers in C?

660






What language is windows 1.0 written?

576


How can I delete a file?

631


What is the size of array float a(10)?

658


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2227


What are the types of type qualifiers in c?

651


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

658


How can I direct output to the printer?

814


What is memory leak in c?

638


How to set file pointer to beginning c?

671


What are the different types of errors?

647