answersLogoWhite

0

How do you declare an integer?

User Avatar

Wiki User

โˆ™ 2012-09-10 08:37:41

Best Answer

datatype variable name;

User Avatar

Vivianne Schamberger

Lvl 9
โˆ™ 2022-08-13 20:49:18
This answer is:
User Avatar
Study guides

Algebra

20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

โžก๏ธ
See all cards
3.79
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
1504 Reviews

Add your answer:

Earn +20 pts
Q: How do you declare an integer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the examples of pseudocode?

declare integer a = 5 declare integer b = 2 declare integer c = 3 declare integer result set result = a + b * c display result


Declare an integer called sum?

sum:integer;


How do you declare an integer variable?

datatype variable name;


Can you declare printf for integer variable?

printf is declared in stdio.hFormat specifier for an integer value is %d.


How would you write Visual Basic Code to declare an Integer variable called intNumber?

Dim intNumber As Integer


How do declare function pointer having two integer parameters and returning integer pointers?

// declare a function int* function(int, int); or int* (function)(int, int); // declare a pointer to a function int* (*pointer_to_function)(int, int);


Does HTML allow you to declare integer real string and boolean variables?

HTML is not a programming language and as such does not allow you to declare variables.


What is used to declare variables in Visual Basic?

declaration of variable is dim a as integer


Is it possible to declare an array of numbers in an integer form?

Yes: int[] integerArray;


What are the purpose of data type integer?

It is used to declare that something will use only integer (whole number) values.an integer variable stores only integer valuesan integer function returns only integer valuesan integer parameter to a function or procedure can pass only integer valuesetc.


How do you define an integer in SQL Server?

with the keyword int: eg: declare @myIntegerVariable int


How do you store character and integer using structure?

Declare a structure with integer and character data members in it. Eg:struct node{int integer;char character;};Now you can use this structure definition to store the values. Eg:struct node temp;//declaringtemp.integer = 5;temp.character = 'a';

People also asked