#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

what is the function of pragma directive in c?

602


What is pointer and structure in c?

554


If the size of int data type is two bytes, what is the range of signed int data type?

573


Which control loop is recommended if you have to execute set of statements for fixed number of times?

795


Is main an identifier in c?

583






a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

704


What is the c language function prototype?

631


Why isn't any of this standardized in c? Any real program has to do some of these things.

611


Differentiate between null and void pointers.

618


Is c programming hard?

563


How can a program be made to print the line number where an error occurs?

634


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

1483


What is indirection? How many levels of pointers can you have?

647


What are the different types of pointers used in c language?

604


What is difference between union and structure in c?

564