write a program for size of a data type without using
sizeof() operator?
Answer Posted / prasad
I think this code is execute in turbo c/c++ perfectly.
#inclde<stdio.h>
#include<conio.h>
void main()
{
int a,b;
float x,y;
clrscr();
a=(int)&x;
b=(int)&y;
printf("%d",b-a);
getch();
}
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Write a program to find the biggest number of three numbers in c?
What are qualifiers in c?
What is c value paradox explain?
Why is not a pointer null after calling free?
How many levels of pointers have?
application attempts to perform an operation?
Can a variable be both const and volatile?
Why malloc is faster than calloc?
Can two or more operators such as and be combined in a single line of program code?
What are the types of pointers?
What are control structures? What are the different types?
How can I ensure that integer arithmetic doesnt overflow?
What kind of structure is a house?