answersLogoWhite

0

In C, the most important rules are:

  • The declaration of a variable must precede its first usage.
  • When you declare a variable, its type must be already defined
  • When in a function, declarations can only be at the beginning of a block, before executable statements.
  • It should not start with any number.
  • Only underscore(_) symbol used in decalaration.
User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you declare local and global variables in pseudo code?

Pseudocode is not a programming language (it's specifically intended for human interpretation), so there is no need to declare variables, you simply define them as and when you require them. For instance: Let x = 42 Let y = x * 2


Does HTML allow you to declare integer real string and boolean variables?

HTML is not a programming language and as such does not allow you to declare variables.


Why is pseudo code called false code?

Pseudo code cannot be processed by a machine, it is solely intended for processing by humans.


What do you mean by implicit and explicit variables declaration in visual basic?

implicit means you must declare variables before using them while explicit is not a must you declare variables before using them


How does pseudo code operate?

It doesn't. Pseudo code isn't a programming language, it is just there to give an idea of how you could write a program.


What is the basic Difference between flow chart and pseudo-code?

what's the difference between flow chart and structure diagrams and pseudo code


Is there an absolute 'right' and 'wrong' way of writing pseudo code?

No. There is no "right way" and "wrong way" of writing pseudo code, let alone qualifying with "absolute". However, a pseudo code is "wrong" if it cannot be understood, or it is incorrect in semantic (what the code tries to describe, solve, etc)


What are the pseudocode keywords for loop?

Pseudo code does not have key words, you make it up, that's why it is pseudo.


What is pseudo code algorithm for create a linked list with a header and insert a four numbers to the list?

pseudo code algorithm to create a linked list


How can i write pseudo code for C plus plus if i haven't even wrote the program yet?

You are going about this backwards. First, define the program. Second, describe its algorithm. Third, if needed, write pseudo code. (Sometime, algorithm and pseudo code is the same process.) Fourth, or third, write real code.


What is the difference of source code object code and pseudo code?

Source code is a sequence of executable instructions written in a particular language. Pseudo code is a sequence of non-executable instructions. It is also called algorithm written in plain English


What is the pseudo code of radix sort in java?

:-P