answersLogoWhite

0

Sizeof is an example.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Why you call sizeof is a operator not a function in c language?

If sizeof were a function, the following code would work (you can try with any other function):printf ("Function sizeof is located at %p", sizeof);On the other hand, the following code wouldn't work, as functions don't accept a type as parameter:size_t intsize= sizeof (int);


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.


What is d command for squareroot in C programming?

There are no commands in C-programming, you should use function sqrt from math.h


What is the syntax for determining the size of an array in C using the keyword sizeof?

To determine the size of an array in C using the keyword sizeof, you would use the syntax: sizeof(array) / sizeof(array0).


Is combination a library function in c language of programming?

No.


Why use length function to find length of primitive data type array object?

There is no length function in C. You may have thought of sizeof or strlen. Perhaps.


How is the 'sizeof' keyword in a c program used to determine the amount of space of a variable?

It is 'sizeof'. Example: printf ("sizeof(int)=%d\n", sizeof (int));


Write a c program to print the sizes and ranges of different data types in c?

#include<stdio.h> #include<conio.h> void main() { float f1,*Ptr1,*Ptr2; ptr1 = &fl; ptr2 = (&fl+1); printf("%u",(char *)ptr2-(char *)ptr1); getch(); }


What is fncn in C programming?

1. identifier 2. short for function


What is the function of square root in C programming?

it is sqrt in header math.h


What is the use of 'size of' in c programming?

The sizeof operator is used to determine the length of its operand (in bytes). The operand must be a type or an object of a type (a variable). The operator is a constant expression and therefore executes at compile time. As such there is no runtime overhead in repeated use of the sizeof operator.


What is the difference between a precondition and postcondition in C programming?

In C programming, a precondition is a condition that must be true before a function is called, while a postcondition is a condition that is guaranteed to be true after the function has been executed.