+1 vote
138 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 142 views
0 votes
1 answer 121 views
0 votes
1 answer 175 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

563 users

...