answersLogoWhite

0

No. In most programming languages int is a keyword used to represent integer numeric values.

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

How do you assign the value 45 to the variable PassMark using High-level programming language?

In C: int pass_mark; pass_mark = 45; In C++: int pass_mark {45};


Write a program to determine the weighted arithmetic mean using C language?

#includevoid mean(int[],int);void main(){int n,a[24];printf("Enter the number of terms to find mean\n");scanf("%d",&n);printf("Enter the numbers\n");for(i=0;i


How do you create methods that does not return a value?

That depends on the programming language. In C, and languages derived from C (including Java), you usually declare the return value as "void", for example: void MyMethod(int par1, int par2) { // Some commands here }


What does possible loss of precision means?

When Java (or another programming language) warns you that there is a possible loss of precision, they mean that you are trying to treat one type of number as a different type.For instance, if you try to store an int value in a byte variable:int i = 10;byte b = i;The int can store more information, so forcing it into a byte may cause a loss of that extra information.In order to work around this, you need to cast the variable to tell the programming language that you really want to convert from one type to the other.int i = 10;byte b = (byte) i;


Why there is no object concept in c language?

C is procedural programming language and does not have any object orientated paradigm.But there is C++ programming language that is C Object-Orientated approach and one of the most popular programming language (rapidly going down).C++ brought some features to C programming languages. And one of them is support for classes with fours main OO (Object-Orientated) features: encapsulation, abstraction, inheritance and polymorphism.Object is an instance of the class, which is created at run-time.Class is like a template for Object. It tells what kind of data inside it should have and what kind of operations are possible with it (abstraction).Here is example of the Class:class Point {public:Point();Point(int x, int y);~Point();void setPoint(int x, int y);int getX();int getY();private:int x;int y;};Point::Point() : x(0), y(0) {}Point::Point(int x, int y) {this->setPoint(x, y);}Point::~Point() { }void Point::setPoint(int x, int y) {this->x = x;this->y = y;}int Point::getX() {return this->x;}int Point::getY() {return this->y;}Here is example of small program that creates two objects and manipulates them:#includeusing namespace std;int main() {Point *a = new Point(1, 2); // Object aPoint *b = new Point(3, 4); // Object bcout

Related Questions

Who are INT and CSM?

integer for int csm is a distrebuted programming language


How do you assign the value 45 to the variable PassMark using High-level programming language?

In C: int pass_mark; pass_mark = 45; In C++: int pass_mark {45};


Does A high-level programming language let the programmer use formulas?

If by 'formula' you mean 'expression', then yes. Example in C: int x, y; x= 3+2; y= 2*x;


What is object oriented language in c plus plus?

C++ enables object oriented programming through the use of classes, where an object is an instance of a class. A class is essentially a data type, one that can store information (much like an int stores a value) and that provides an interface to that information.


How do you display 'hello world' using c programming language?

#include<stdio.h> int main (void) { printf ("Hello world!\n"); return 0; }


How do you create a function that can pass through parameters in C programming language?

example: static void fun (int x) { printf ("x=%d\n", x); } int main (void) { fun (12); return 0; }


Write a program to determine the weighted arithmetic mean using C language?

#includevoid mean(int[],int);void main(){int n,a[24];printf("Enter the number of terms to find mean\n");scanf("%d",&n);printf("Enter the numbers\n");for(i=0;i


Int a is literal in C language or not?

int a; -- variable definition"int a" -- string literal


C plus plus programming for addition of two numbers?

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


How do you create methods that does not return a value?

That depends on the programming language. In C, and languages derived from C (including Java), you usually declare the return value as "void", for example: void MyMethod(int par1, int par2) { // Some commands here }


How do you convert a number into an integer?

To convert a number into an integer in programming, you can use specific functions or methods depending on the language. For example, in Python, you can use the int() function, like int(3.7) which will return 3. In Java, you can cast a double to an integer using (int), such as (int) 3.7, which will also result in 3. This process typically truncates any decimal portion of the number.


What does inheritance mean in c?

The C Programming language doesn't actually support inheritance, it only supports composition. However, the following code demonstrates how we can use composition to approximate single inheritance: struct Base { int data; }; struct Derived { struct Base base; // ... }; int main (void) { struct Derived d; d.base.data = 42; return 0; }