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
What is this pointer in c plus plus?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What do header files do?
What is a nested loop?
Explain setjmp()?
I need previous papers of CSC.......plz help out by posting them.......
What is modeling?
What is wrong with this initialization?
What is bubble sort technique in c?
What is meant by 'bit masking'?
Define macros.
How variables are declared in c?
Why structure is used in c?
Give differences between - new and malloc() , delete and free() ?
What is the collection of communication lines and routers called?