Structured Computer Programming with C-05 by Alamgir Hossain.
From this slide you will learn about nested-if in c with proper example.
Size: 158.49 KB
Language: en
Added: Sep 08, 2020
Slides: 4 pages
Slide Content
Nested-if in C Programming Md. Alamgir Hossain Lecturer, Dept. of CSE, Prime University Mail: [email protected]
Nested-if in C/C++ Nested if statements means an if statement inside another if statement. Yes , both C and C++ allows us to nested if statements within if statements, i.e , we can place an if statement inside another if statement . Syntax: if (condition1) { // Executes when condition1 is true if (condition2) { // Executes when condition2 is true } }