#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
What is a global variable in c?
What is assignment operator?
What is the purpose of scanf() and printf() functions?
How can you invoke another program from within a C program?
What is the difference between if else and switchstatement
What is the difference between struct and typedef struct in c?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
Can you please explain the difference between strcpy() and memcpy() function?
What functions are in conio h?
How can I recover the file name given an open stream or file descriptor?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Do array subscripts always start with zero?
What are high level languages like C and FORTRAN also known as?
Is c is a middle level language?