Computer Science, asked by madhanvarsini, 4 months ago

________ causes one-time jump to a specific part of the _______.​

Answers

Answered by yogeswaribalaji2016
1

Answer:

Function ; program

Explanation:

It jumps to specific part of the program

Answered by vinod04jangid
0

Answer:

goto causes one-time jump to a specific part of the function.​

Explanation:

A goto can cause  statement the program control to end up almost anywhere in the program.

consider the following c program:          

        main()

        {

        int n=10;

       if (n>5)

         goto sos:

       else

       {     printf("Nice try");

        exit();

        }

      sos:

          printf(" Stop using Goto Statement");

     }

Here value of n is 10 which is >5. Hence the condition of if statement is true and the goto statement of 'if' will execute. This goto statement transfers the control to the label 'sos' causing printf() followig sos to be executed

#SPJ3

Similar questions