In general, the index of the first element in an array is ________
In C++ the way to add comment-
A set of precise steps for solving a problem is known as:
Loss in precision occurs when typecasting from a higher datatype to a lower datatype.
What is the syntax for inheriting a class in programming?
What is wrong with this statement? myName = "Sam";
In a FIFO algorithm, when a page is to be replaced, which of the following page is chosen?
#include <stdio.h>
int main()
{
int i = 3;
switch(i)
{
printf("Outside ");
case 1: printf("Abekus");
break;
case 2: printf("Quiz");
break;
defau1t: printf("AbekusQuiz");
}
return 0;
}
The following program is generating an indefinite loop. Identify the error and output the line number.
1. int display()
2. {
3. int i=0;
4. i++;
5. printf("%d",i);
6. if(i==50)
7. exit(0);
8. else
9. display();
10. }
11. int main()
12. {
13. display();
14. return 0;
15. }