write a program for size of a data type without using
sizeof() operator?
Answer Posted / akash patil
#include<stdio.h>
#include<conio.h>
void main()
{
int a[2];
printf("size is %d",(int)&a[1]-(int)&a[0]);
getch();
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Differentiate between null and void pointers.
What is the purpose of void in c?
What are high level languages like C and FORTRAN also known as?
Explain what are header files and explain what are its uses in c programming?
what value is returned to operating system after program execution?
Explain null pointer.
What is an operator?
how many key words availabel in c a) 28 b) 31 c) 32
Which programming language is best for getting job 2020?
How #define works?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Is c is a low level language?
What is hashing in c language?
How can I automatically locate a programs configuration files in the same directory as the executable?
What does %c mean in c?