What is difference between the following 2 lines….
int temp = (int)(0x00);
int temp = (0x00int);
Answer Posted / 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 |
Post New Answer View All Answers
Explain what is wrong in this statement?
What's a good way to check for "close enough" floating-point equality?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is data type long in c?
What are the types of pointers?
What are different types of operators?
What is the difference between printf and scanf )?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
Discuss the function of conditional operator, size of operator and comma operator with examples.
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What the different types of arrays in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Explain zero based addressing.
Can include files be nested?
What is integer constants?