🟣 C++ Language • Hindi Tutorial Lesson 4/20

Flow of control in c++

Normally जब भी कोई C++ program execute होता है तो पहला दूसरा तीसरा ऐसे ही sequence में सारे statements execute होते है |


Program execution की यह sequence program का execution flow कहलाती है। इस execution flow को आप control कर सकते है।


आप चाहे तो किसी statement के execution को skip कर सकते है, किसी statement को एक से ज्यादा बार execute करवा सकते है या फिर program में एक statement से दूसरे statement पर jump कर सकते है।


Program & execution flow


control


के लिए C++ आपको कुछ built in flow control statements provide करती है। C++ आपको 3 प्रकार के flow control statements provide करती है।


Selection Statements


Looping Statements


jump Statements