answersLogoWhite

0


Best Answer

1.every 'c' prg starts with a fun called main(),follwed by empty paranthas is.

2.varibles must be declared at the begining of program.

3.each and every statement must ends with a semicolon(;)

4. c prg is a case sensitive that upper case letter not allowed

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The same way all compiled languages work. The source code is compiled into one or more object files which are then linked to form the machine code a computer can execute.

Like all other high-level languages, C++ source code uses keywords and primitive data types that can be combined to form more complex data types and the functions with which to manipulate those data types. C++ also employs object-oriented programming, with many useful built-in classes that can be modified to suit, or that can be custom built entirely from scratch. Simple objects can be combined to create highly-complex objects, allowing greater complexity and flexibility without the need for complex code. C++ syntax is fairly simple to understand, the only complexity being the use of pointers in addition to references and values. However, the combination of pointers, references, objects, structures and other variables permits a high degree of flexibility and control over the resulting machine code.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

The great thing about C++ is, like C before it, there are no rules. The language is extremely flexible. Certain practices are frowned upon, such as the unnecessary use of the goto keyword and C-style memory allocations (malloc). However, provided you follow best practices you are free to use the language as you see fit.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

C++ has no instructions -- unless you mean instructions as in how-to guides and references.

C++ itself uses keywords, operations and function calls which instruct the compiler to produce machine code. It is the machine code which instructs the computer to solve problems.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The rules of the C language is well-defined by the standards committee. Check Google for sites that carry copies of the standard.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

C++ is a multi-paradigm language. It supports functional programming and object-oriented programming.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the rules of C plus plus programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why study c plus plus programming?

we are using c plus plus programming for developing object oriented programing software.


Differentiate C plus plus and Turbo C?

Turbo C is a software where C or C++ programming environment resides in.But C++ is itself a programming language.


Is c plus plus a modular programming?

No, but it does support modular programming through namespaces.


What are the two major types of programming languages in c plus plus?

Object oriented programming and structured programming.


What is the purpose of C plus plus?

Computer programming.


What is c plus plus primarily used for?

Programming.


What is the significance of c plus plus?

C++ is an object oriented programming language


What is the use of c plus plus in banks?

Programming language.


What is the best website for C plus plus programming?

www.cplusplus.com


Algorithm of push and pop in c plus plus?

pop push c++ programming


Is NET programming is update from C plus plus programming?

No. .NET programming is Microsoft-specific, similar to Java in some respects, but it is non-portable. C++ is a general purpose and cross-platform programming language.


Is there any difference between turbo c and c plus plus?

turbo c is a compiler and c++ is a programming language.