write a program for size of a data type without using
sizeof() operator?
Answer Posted / tishu
#include<stdio.h>
void main()
{
long int i,j,k;
printf("Enter a number");
scanf("%d",&i);
if(-32768<i && i<32767)
j=i*i;
k=j/(j/2);
printf("%d",k);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write an algorithm to display a square matrix.
How can you find the day of the week given the date?
regarding pointers concept
What is ## preprocessor operator in c?
What is the use of f in c?
Explain what standard functions are available to manipulate strings?
How can I remove the trailing spaces from a string?
What are the three constants used in c?
Why malloc is faster than calloc?
What are types of functions?
What is c variable?
What does *p++ do?
What are keywords in c with examples?
Why we not create function inside function.
What tq means in chat?