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 |
How can my program discover the complete pathname to the executable from which it was invoked?
What is the purpose of 'register' keyword in c language?
What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }
which types of data structure will i use to convert infix to post fix???
What are the different types of errors?
How can I implement sets or arrays of bits?
write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?
write a program to display numbers from 1 to 10 and 10 to 1?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
What is signed and unsigned?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university