edited by
369 views
0 votes
0 votes

If the following loop is implemented

    {

         int num =0;

         do {-- num; printf (“%d”, num); num++;}

          while(num>=0)

    }
  1. the loop will run infinitely many times
  2. the program will not enter the loop 
  3. there will be compilation error reported
  4. a run time error will be reported 
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
go_editor asked Mar 27, 2020
4,578 views
Which statement is wrong If linked origin $\neq$ translated origin, relocation must be performed by the linkerIf load $\neq$ linked origin, the loader must perform reloca...
0 votes
0 votes
0 answers
2
go_editor asked Mar 27, 2020
737 views
Tasks done in parsing are:Check the validity of a source stringDetermine the syntactic structure of a source stringBoth A and BNone of these
0 votes
0 votes
1 answer
3
go_editor asked Mar 27, 2020
344 views
$\text{YACC}$ builds up _____parsing table.$\text{LALR}$$\text{LR}$$\text{SLR}$$\text{LLR}$
2 votes
2 votes
1 answer
4
go_editor asked Mar 27, 2020
1,155 views
The action of passing the source program into the proper syntactic class is known as:Syntax analysisLexical analysisInterpretation analysisUniform symbol generation