#ifdef TRUE
int I=0;
#endif

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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2733


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

569


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

581


How is pointer initialized in c?

577


Can include files be nested?

619






Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

601


Explain the ternary tree?

593


Give basis knowledge of web designing ...

1566


Why is this loop always executing once?

610


difference between Low, Middle, High Level languages in c ?

1624


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2446


Why c is faster than c++?

623


What is pre-emptive data structure and explain it with example?

3203


What are compound statements?

622


What is header file definition?

561