answersLogoWhite

0

'int' is one of the built-in data-types, it is meant to hold integer values.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

C plus plus programming for addition of two numbers?

int main() { int x = 40 + 2; }


What is explicit typecasting in C plus plus programming?

int i = 42; char c = ( char ) i; // explicit cast double d = i; // implicit cast


What is the use of c plus plus in banks?

Programming language.


What is use of keyword extra in c plus plus programming?

Nothing.


In most modern programming languages such as Java and C plus plus what are parameters in the header separated by?

I won't tell you, but maybe this example helps: int myfunction (int param1, long param2, short param3)


Example program arrays in turbo c plus plus?

Yes, you can use for-loop in a C program compiled by Turbo C.


Appending array elements using function in c plus plus programming?

#include<iostream> void append(std::vector<int>& v, int i){ v.push_back(i); } int main() { std::vector<int> v; append( v, 100 ); // same as calling v.push_back(100); return(0); }


What does c plus plus use call by value or call by reference?

When we call a function in C++ by passing the values as arguments, it is called call by value. e.g #include<iostream.h> #include<conio.h> int add(int,int); int main() { int a,b,c; cout<<"Enter numbers."; cin>>a>>b; c=add(a,b); cout<<"Sum : "<<c; return 0; } int add(int a,int b) { int c; c=a+b; return c; }


C plus plus program using function min that take three parameters of type int and returns the minimum of the three?

int min (int a, int b, int c) {if (a


Which Program that will run in C but not in C plus plus?

void main() { int *x = malloc(sizeof(int) * 10); }


Why study c plus plus programming?

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


Is it corrrect to declare a variable in c or c plus plus as two or three words for eg int seg no?

No., If you want to declare you jus use _ in between so the declaration will be like int seg_no;