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
Compare interpreters and compilers.
What are variables and it what way is it different from constants?
Are pointers really faster than arrays?
What is meant by initialization and how we initialize a variable?
What is cohesion and coupling in c?
What is array of structure in c?
What is the difference between mpi and openmp?
How can I do peek and poke in c?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
Can we assign string to char pointer?
What are the keywords in c?
What is the use of header?
Is c pass by value or reference?
What is a node in c?
Explain built-in function?