answersLogoWhite

0

In C a structure within a structure is called nested. For example, you can embed a while loop in another while loop or for loop in a for loop or an if statement in another if statement.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

Definition of C programming and C?

lkjhktrhkhkrgt


What is nesting in C programming?

Nesting can be a very handy tool in C++, but should be avoided if possible.C++ gives us If statements, For loops and many other things. These can be nested. For example:A nested If statement://outer if statementIf( this is true ){//nested if statementif( this is also true ){//do something}else{//do something else}}


Definition of directories in c?

Directories have nothing to do with a programming language.


How function can be nested in c?

A function can call other functions (or itself), but a function-definition cannot be nested in another function-definition: int main (void) { void wont_compile (void) { puts ("Won't compile"); } wont_compile (); return 0; }


What is difference between select Case statement and nested loop in c programming in UNIX?

UNIX has no bearing on the C language; it is cross-platform. There is no select/case in C, you probably meant switch/case. However, a switch/case is a conditional jump while a nested loop is a loop within a loop. Besides the C language they have nothing in common with each other.


Can include files be nested in c?

Yes, include files can be nested in C and C++. In fact, most library implementations do just that.


What does nial mean?

It is a high-level programming language: Nested Interactive Array Language.


Can you have nested header files in C?

Yes.


What is the definition of nested loop statement?

A nested loop statement is a programming construct where one loop is placed inside another loop. This allows the inner loop to execute multiple times for each iteration of the outer loop, facilitating the traversal of multi-dimensional data structures, such as matrices. Nested loops can increase the complexity of algorithms, as the total number of iterations is typically the product of the iterations of the outer and inner loops.


What are the disadvantages of function in C?

In comparison to Strawberry Cheesecake, the main disadvantage of a function in C is that you can't eat it. In comparison to a mature Brandy, the main disadvantage of a function in C is that you can neither smell nor drink it. In comparison to functions in some, but not many, other programming languages, one limitation of functions in C is that they may not be nested: In C, a function definition cannot contain another function definition. In comparison to some modern interpreted language, e.g. Python, one limitation of functions in C is that a function cannot generate another function.


What is nested class in c plus plus?

s.


C programming language bsc it notes?

different between defining value definition section and defining value declaration section