What is difference between the following 2 lines….
int temp = (int)(0x00);
int temp = (0x00int);
Answers were Sorted based on User's Feedback
Answer / s.srinivasulu
first one is valid initialization and
second one syntax error and it will give compilation error
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / mandoos
first is an integer declaration and initializing it with a
hex value
Second will produce syntax error, is that question is correct?
| Is This Answer Correct ? | 10 Yes | 0 No |
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
How can I swap two values without using a temporary?
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
How can I prevent another program from modifying part of a file that I am modifying?
Is using exit() the same as using return?
why effort estimation is important?
Please list all the unary and binary operators in C.
What is the function of volatile in c language?
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
why 'c' is called middle level language.
What does static variable mean in c?