answersLogoWhite

0


Best Answer

The basic structure of a C or C++ program is built around types. A structure is a type. A function is a type. A class is a type. All of these types can be built from primitive (built-in) types and can be used to create ever-more complex types.

User Avatar

Wiki User

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

Wiki User

13y ago

Structure is a user defined data type,in which functions are prescribed public by default.It is specified by the keyword struct.

By Prakhar.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Basic structure of c n c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

C program to print numbers 1 to n?

how do we use loops in c plus plus programing and what are basic differences between do,for and while loop


What is basic structure of an amino acid?

The main identifying factor is The Peptide Bond. In this Bond the -C-C-C-C- chain is interrupted by Nitrogen as in -C-C-N-C-C-N-C-C-N-C. All amino acids have the same 3 components: from the C-terminal end, there is an acid group (-COOH) that is bonded to the next C in the chain that is bonded to one H and one -R group [that will determine the kind of amino acid], that is followed by a NH2- that conjoins with the acid of the NEXT AMINO ACID. The basic structure looks something like this: H H O N C C OH H R You may also see it like this H H O H N C C H R O This is just showing the protonated version.


WHAT IS THE Molecular structure of kcno?

K+ -N=C=O


Find the sum of 1 plus 2 plus 3 plus . plus n nos using c program?

if (n%2==0) sum=n/2*(n+1); else sum=(n+1)/2*n;


What is H3CCN?

Ethanenitril or acetonitrile . H3C - C///N is the structure.


What is the code of program in c plus plus that prints an hourglass of stars on screen?

#include<iostream> int main() { std::cout << "*******\n" "*******\n" " *****\n" " ***\n" " *\n" " ***\n" " *****\n" "*******\n" "*******\n"; }


What is the difference between n-- and --n in C plus plus statement?

If these expressions are stand-alone (not nested), then they do the same thing, ie increment 'n'.


How do you find the C programming of the sum of the series 5 plus 55 plus 555 plus . plus n terms?

Find the Sum to n terms of the series 5 5+55+555+ +n Terms


How do you write a program to make a cross asterisk in c plus plus?

#include <iostream> int main() { printf( " *\n***\n *\n" ); return( 0 ); } Output: *****


If n is an odd integer is n plus 6 odd as well?

Yes. If n is odd, then n + c where c is an even constant will be odd. n + d where d is an odd constant will be even.


What is the Lewis structure for NH3Cl plus?

The Lewis structure of CH3 starts with a C in the center, representing the Carbon atom. The carbon atom has three dashes and two dots. Connected to each dash is an H, representing the hydrogen atoms.


What is grace marks alloted in each subject?

how n c c marks are added in plus two?