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 operator precedence?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
Explain do array subscripts always start with zero?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is malloc calloc and realloc in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
What is array within structure?
What is volatile keyword in c?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Why we use stdio h in c?
Explain setjmp()?
How do I convert a string to all upper or lower case?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What is a wrapper function in c?