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
What is meant by high-order and low-order bytes?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is sizeof int in c?
Why isnt any of this standardized in c?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Define macros.
What is the right type to use for boolean values in c? Is there a standard type?
Do variables need to be initialized?
Write a program to check armstrong number in c?
What is difference between %d and %i in c?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What are types of structure?
Explain what is the difference between the expression '++a' and 'a++'?