answersLogoWhite

0

void myfun (int *pi)
{
if (i==NULL) printf ("check failed");

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Integer in c and c plus plus?

One of the built-in datatypes.


Can an integer data type in c plus plus stores character value?

no


Can a trinomial x2 plus bx plus c where b and c are integers be factored with integer coefficients if its discriminant is 35?

No.


What is the use of c plus plus function atoi?

Converts a character to integer (if it is a numeric character)


What is an address in C plus plus programming?

An address in C or C++ is the location in memory of an object or function. An address is the contents of a pointer, as opposed to the contents of the memory location pointed to by the pointer.


What does malloc return in C and C plus plus?

Address of the allocated area, or NULL.


What is 'this' pointer in c plus plus?

Address of the current object.


How do you write a C plus plus statement to allocate memory cells dynamically and store the memory address in a pointer to an integer named gred?

int * gred ; gred = new int [100] ; // this example snippet creates 100 ints


When do we use int in c plus plus programming?

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


In c plus plus you cannot assign integer value to enum?

That is correct - In c plus plus you cannot assign integer value to enum - You can only assign an enum value to an enum. Even though an enum looks like an integer, it is not. It is an enum, and C++ implements strict type checking to reduce the probability of bad programming practices. enum ColorCode {black, brown, red, orange, yellow, green, blue, violet, grey, white}; ColorCode myColorCode; myColorCode = yellow; Even though yellow has an integer value of 4, you cannot say myColorCode = 4.


When A B and C are counting numbers and both A and B are multiples of C what can you say about A plus B?

If A and B are multiples of C, then A + B is also a multiple of C: If A is a multiple of C then A = mC for some integer m If B is a multiple of C, then B = nC for some integer n → A + B = mC + nC = (m + n)C = kC where k = m + n and is an integer → A + B is a multiple of C


How do you print size of integer?

the size of an integer is determaind by using the function "sizeof(c)",here 'c' is any integer.