answersLogoWhite

0


Best Answer

indentation is good for all programming languages

1) it shows levels of nesting, nested if statements , for loops, etc

2) anyone reading your code can tell whats executing inside of what

3) It shows scope. If everything is indented you know the scope of variables

4) Easier to read

5) Better programming sense

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is indentation important in c progaming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How carefully does the compiler pay attention to indentation?

The compiler does not pay any attention whatsoever to indentation in C and C++.


What are the types of the net?

progaming for . net


What is the indentation in programming Why is it important?

In computer programming languages, indentation formats program source code to improve readability. Programming languages make use of indentation to define program structure . Programmers use indentation to understand the structure of their programs to human readers.


What is progaming?

A computer programming is a person that makes programs for a computer.


What is an indentation of shore called?

An indentation of the shoreline is a cove or bay.


What do you understand by the word indentation in programming language?

Indentation means to represent the coding in a readable format. for example: void main() { int i=0; if(i==0) { printf("%c\n", 'A') } else { printf("%c\n", 'B') } getch(); } the above program is not properly readable cause it don't have indentations like the below one void main() { int i=0; if(i==0) { printf("%c\n", 'A') } else { printf("%c\n", 'B') } getch(); } don't go for what this program is doing, it's just an example.


How do you convert Rockwell b scale to c scale?

You dont. Minimum C is about maximum B. And the indentation is different. Even if you could convert it, the results would not be accurate.


How do you make a sentence with indentation?

The puppy's bite left a tiny indentation in my arm.


When x is 9 and y is 11 and when x is 11 and y is 9 Note that the compiler ignores the indentation in a C program?

if(x 9) { }


What are the different types of indentation?

There are four common types of indentation: Block indentation, where text is indented to separate it from the surrounding content. Hanging indentation, where the first line of a paragraph is not indented, but subsequent lines are. First-line indentation, where only the first line of a paragraph is indented. Left and right indentation, where both the left and right margins of a paragraph are indented.


Why is it necessary to use indentation and space in java statement?

The Java compiler doesn't need this, and in fact doesn't care. It is important to improve the readibility of the program for human programmers. Even with correct indentation, interpreting a computer program can be confusing. Without proper indentation and spacing, it will be much, much worse.


What is difference between alignment and indentation?

Indentation= selected area Alignment= first line of a paragraph