hi,
but arr[57/8]=arr[7] will not create 50 bits.taking a char variable size as 8 bits.it will create 56 bits,not exactly 50 bits.
thanks,
rohit
Type: Posts; User: rohit_second
hi,
but arr[57/8]=arr[7] will not create 50 bits.taking a char variable size as 8 bits.it will create 56 bits,not exactly 50 bits.
thanks,
rohit
hi,
I want to know how the below program creates an array of 50 bits.
insert
#define CHARSIZE 8
#define NUMSLOTS(n) ((n+CHARSIZE-1)/CHARSIZE)
void main()
{
how should i get access of that structure that i have filled in the first function.Do i have to make the structure global ?
hi,
I need to know how to deference a double pointer to a structure.
i have a structure like this.
insert
struct string1
{
unsigned char line1[20];
hi,
What exactly happens in this program
insert
void main()
{
char str1[]="Italy";
char str2[2]="Rome";
char *s1=str1,*s2=str2;
while(*s1++ = *s2++);
hi,
Thanks great explanation.
Regards,
Rohit
hi,
Thanks.But i still don't understand why i get the answer 256 for this program...
insert
int main()
{
unsigned char i=0x80;
printf("%d",i<<1);
}
hi,
Can anyone explain.....how the compiler computes the output for this ????
insert
int main()
{
printf("%x\n",-1>>4);
}
according to me....-1 is represented as
hi,
Can anyone explain what is the theory behind this program execution.....
When i type the following program....
insert
int main()
{
char ch='A';
printf("%d %d ...
hi,
Can anyone explain about the output of the following program ???
insert
#define CUBE(x) (x*x*x)
int main()
{
int a,b=3;
a=CUBE(b++);
hi,
Can anyone please explain....how a float value is stored in memory.
For example.
The sizeof float value is 4 bytes ie) 32bits.....
If a=32.56
The binary equivalent of 32.56 is...
hi,
Thanks for everybody for solving the problem.Excellent explanation keep it up.Hats off to you guys.
Regards,
Rohit
hi,
Can anyone explain me the results of the following program....
insert
main()
{
int i=-3,j=2,k=0,m;
m=++i && ++j || ++k;
printf("%d %d %d %d",i.j,k,m);
hi,
Please don't use typedef in defining a function pointer,its confusing.I have already said that the site did not contain information like.
Pointer to a array of function pointer;
I...
Please understand the question properly.......
I am asking for an example like,
Function returning a pointer to an array of function pointers.....not the entire array.
Also examples for.......
The site has examples of function pointers,function returning function pointers.
But there is no examples for
Function returning an pointer to array of function pointers.
pointer to a...
hi,
Can anyone show me.....how to create a pointer to a function pointer.
Please show me by creating some functions....
Also
What this apply.....
char (*(x()) [ ]) ()