+1 vote
114 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 118 views
0 votes
1 answer 103 views
0 votes
1 answer 137 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

535 users

...