+1 vote
130 views
in C program by (3.4k points)
edited

Can goto statement transfer program control from one function to another function ?

1 Answer

0 votes
by (3.4k points)
selected by
 
Best answer

No, As we know that goto statement can transfer the program's control to specified label, But it has a limitation, as it can transfer program's control within a function only. Outside the function, control can not be transferred by goto statement.

Related questions

0 votes
1 answer 133 views
0 votes
1 answer 115 views
0 votes
1 answer 161 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

559 users

...