Determine output:#include<stdio.h>#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());}
A). 0
B). 1
C). 100
D). Error
100
Preprocessor executes as a seperate pass before the execution of the compiler. So textual replacement of clrscr() to 100 occurs.The input program to compiler looks like this :
void main()
{
100;
printf("%d\n", 100);
}
Note: 100; is an executable statement but with no action. So it doesn't give any problem.
1. Which of the following is a serious problem of file management systems?
3. The area of coverage of a satellite radio beam is known as
4. IBM's Micro Channel Architecture (MCA) specifies which type of the following bit access widths?
7. Which of the following is not process states?
8. The data model that is produced from reverse engineering is: