answersLogoWhite

0

std::cout<<42<<std::endl;

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

Is the syntax between c and c plus plus different?

Yes


Can you see a programme of if syntax in c plus plus?

My self Dhilib... it is a simple query. if statement is a basic control statement. mostly it used in all the languages. also in c plus plus syntax: if(test condition) { true statements; } else { false-statements; } Example: void main() { int a,b; a=54; b=65; if(a&gt;b) { cout&lt;&lt;" a value is big"; } else { cout&lt;&lt;"b value is big"; } }


What is different of c language and c plus plus?

Primarily OOP support, but there are minor syntax difference. By and large anything you can do in C you can also do in C++.


What is extension part of c plus plus?

C++ Extension Name is... Syntax is: File Name.extension name. Ex: ankit.cpp


What did C plus plus add to the C language?

Object-oriented programming principals, a more consistent syntax and improved type-safety.


Bagian syntax yang di gunakan c plus plus?

C++ uses a syntax that is exactly the same as in C, with the addition of reserved words that are specific to C++. C ++ menggunakan sintaks yang persis sama seperti di C , dengan penambahan kata-kata reserved yang khusus untuk C++.


What is the syntax of c plus plus?

The answer is really beyond the scope of this site. You would probably need to buy a textbook.


What is syntax in c plus plus for declaring a variable?

type variable {[optional array size]} {= optional initializer};


Is c plus plus and java are the same?

No. Java takes some ideas from C++, so there are certain similarities, especially in the basic syntax. But it is a different language.


What is the syntax of clear screen in c plus plus?

It must be done by a platform-dependent function, it's "clrscr" from conio.h in TurboC


What is a syntax error in c plus plus?

Syntax error is a kind of error when compiler does not recognize the command you are trying to use. It happens because of two reasons: first is you forgot to include required library; second is such command does not exist.


How do you increment hex value in c?

First a variable in numeric data type is to be defined. Then increment the number using the ++ command syntax of C,