#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
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
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How is pointer initialized in c?
Can include files be nested?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Explain the ternary tree?
Give basis knowledge of web designing ...
Why is this loop always executing once?
difference between Low, Middle, High Level languages in c ?
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.
Why c is faster than c++?
What is pre-emptive data structure and explain it with example?
What are compound statements?
What is header file definition?