how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / amit ranjan
int main()
{
int a[2];
int one = a;
int two = a+1;
int test = two-one;
printf("%d\n", test);
return 0;
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does c mean?
Calculate 1*2*3*____*n using recursive function??
What is infinite loop?
What is advantage of pointer in c?
Write a program to check armstrong number in c?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
The file stdio.h, what does it contain?
How does sizeof know array size?
What is meant by realloc()?
Hi can anyone tell what is a start up code?
What is the purpose of macro in C language?
What is volatile c?
What is spark map function?
What are the advantages of Macro over function?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer