It is easy to tell with function printf:
int unknown_value;
...
printf ("unknown value is %d\n", unknown_value);
Note: the typical value-range for type integer is -32768..32767 (16 bits), or -2147483648..2147483647 (32 bits).
Example: int *p= (int *)-1; *p= 0;
#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
Well, uh, const unsigned int and const signed int..
In C: int pass_mark; pass_mark = 45; In C++: int pass_mark {45};
int pow (int a, int b) { if (b==0) return 1; else return a*pow(a,b-1); }
int a; -- variable definition"int a" -- string literal
C language: int (but C is NOT a .net language) C# language: object or System.Object
data-type
int86 is a function in TurboC, header dos.h, consult the built-in help.
Example: int *p= (int *)-1; *p= 0;
int a = 1 + 2; ---------- int a = 1; int b = 2; a += b;
int foo (void); void bar (int);
int pallindrom(int p){ /*write all logic*/ }
printf ("sizeof (int) is %d bytes", (int)sizeof (int)); Most likely it will be 2 or 4.
I have no idea what you mean by that... Some examples for pointers of different types: int *intptr; char *charptr; void *generic_ptr; FILE *stdin; int (*funptr)(int, char **);
#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
I think you mean constants. A constant is a variable that can not have its value changed at run time eg. const int a = 100;