answersLogoWhite

0

What is nesting in C programming?

Updated: 9/22/2022
User Avatar

Wiki User

12y ago

Best Answer

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 statement

If( this is true )

{

//nested if statement

if( this is also true )

{

//do something

}

else

{

//do something else

}

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is nesting in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many levels of nesting are possible in c?

No explicit limit. Nesting of what, by the way?


What is Nesting of functions in C?

Impossibility.


What is c and c in computer programming?

C and C++ are both high-level programming languages.


What is nesting of functions in c language?

Impossibility.


Create a spiral in C programming?

create spiral in c programming?


What has the author Robert Lafore written?

Robert Lafore has written: 'Object-oriented programming in Microsoft C++' -- subject(s): Object-oriented programming (Computer science), C++ (Computer program language), C. 'Microsoft C. Programming for the I.B.M.Personal Computer' 'Object-oriented programming in C++' 'Windows Programming Made Ridiculously Easy Book' 'The Waite Group's C Programming Using Turbo C++ (The Waite Group)' 'Microsoft C programming for the IBM' 'The Waite Group's Microsoft C programming for the PC' -- subject(s): C (Computer program language), IBM microcomputers, Microsoft C (Computer program), Microsoft C., Programming


When was C - programming language - created?

C - programming language - was created in 1972.


What is a C compiler as used in C programming?

In C programming, C compiler is user to translate C source into C object module.


What is the benefit of the C programming languages?

C language is better for hardware programming .Most of the programming for hardware are written in C language so it is beneficial for hardware programming is not efficient for application programming due to drawback like in C data moves around the system.


Name of object oriented programming language?

C++ is the name of a programming language.


Where can one find C programming tutorials?

You can find C programming tutorials online at the C programming website. They provide both free and paid tutorials for many aspects of the C and C++ code.


Websites to download c C programming language books?

Download 1000s of C C C++ Programming Language. http://www.guruengineers.com