Write a simple program to find the size of different basic
data types in C.
Answer Posted / jugad
#include
#include
int main()
{
printf(“%d %d %d %d”,sizeof(int),sizeof(unsigned
int),sizeof(float),sizeof(char));
getch();
return 0;
}
courtesy:http://answerwale.co.cc/?p=23
Is This Answer Correct ? | 21 Yes | 7 No |
Post New Answer View All Answers
How can I prevent another program from modifying part of a file that I am modifying?
What is dynamic memory allocation?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What is static memory allocation?
When we use void main and int main?
What is wild pointer in c?
Describe the difference between = and == symbols in c programming?
What is array within structure?
How can you find the day of the week given the date?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
What is 1f in c?
Tell us something about keyword 'auto'.
what does static variable mean?
Can main () be called recursively?
What is the difference between char array and char pointer?