how to find the sizof of any datatype using bit manipulations
Answers were Sorted based on User's Feedback
Answer / jvhariharan
void main()
{
int a,b;
a=sizeof(int);
b=sizeof(char);
pf("int:%d char:%d",a,b);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nazia wasim
the size of any datatype or a variable can b
calculated using sizeof operator .it uses one
argument as the datatype or variable name
and returns the size in bytes.syntax:-sizeof
(datatype).
| Is This Answer Correct ? | 0 Yes | 0 No |
what is printf
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
a c code by using memory allocation for add ,multiply of sprase matrixes
Can you define which header file to include at compile time?
What is the use of putchar function?
what is an inline fuction??
actually i have 2 years teaching experience as computer faculty but now i am a DBA but when i go for interview many peoples asked me why i left my teaching profession and why i want to come in this field kindly give me the proper answer of this queston
how to print "hai" in c?
how to execute with out main in cprogram
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
What are inbuilt functions in c?
which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....