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
Is the exit() function same as the return statement? Explain.
What is a far pointer in c?
Why can’t we compare structures?
find the sum of two matrices and WAP for it.
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What does the c in ctime mean?
What is calloc in c?
What is #define used for in c?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
What is the use of a static variable in c?
What is extern c used for?
What is scope and lifetime of a variable in c?
How do I create a directory? How do I remove a directory (and its contents)?
What is function prototype?