answersLogoWhite

0

type your answer here

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

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

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


What is constant variable in c?

Constant variables refers to those variables whose values cannot be changed. These variables should be initialized along with their declaration. Attempt to change the value of a constant variable will generate compile error. The syntax for declaring a constant variable is:const data-type variableName = value;


What is the correct syntax for declaring and initializing an array that contains the numers 0-9?

The syntax is: int a[10]; for (int i=0; i<10; ++i) a[i]=i;


How you declare a variable in c language?

you have to give a statement in the following syntax datatype variable;


Difference between declaring a variable and definition a variable?

Declaration is a promise: 'I will define (or has defined) this variable/function somewhere else'.


What is the correct syntax for declaring and initializing an array that contains the numbers 0-9?

int x[]={0,1,2,3,4,5,6,7,8,9};


What is the syntax of global variable in java?

There's no global variables in Java.


What is declaring pointer variable?

I'll give you an example: char *s;


The correct syntax for setting the BOB variable to the contents of the JOE variable in the Bourne shell?

BOB=$JOE or BOB=${JOE}


When declaring a variable one thing you shouldn't do?

When declaring a variable, don't use short and cryptic names such as 'x'. Use descriptive names for the variable, such as 'accumulator'. Also, don't declare more than one variable on the same line. You can, but it will help take some errors away from your code.


How array differ from ordinary variable?

ordanry variable store one value at a time. arrays are used for storing more than one value at a time in a single variable name ordanry variable doesnt have subscript. array must have subscript syntax for ord. variable Datatype v1,v2...... syntax for array variable Datatype v1[n1],v2[n2].....


Is there any memory wastage for declaring a pointer variable?

No, unless you do not use it at all.