#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
what is the function of pragma directive in c?
What is pointer and structure in c?
If the size of int data type is two bytes, what is the range of signed int data type?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Is main an identifier in c?
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
What is the c language function prototype?
Why isn't any of this standardized in c? Any real program has to do some of these things.
Differentiate between null and void pointers.
Is c programming hard?
How can a program be made to print the line number where an error occurs?
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.
What is indirection? How many levels of pointers can you have?
What are the different types of pointers used in c language?
What is difference between union and structure in c?