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 |
Difference between Shallow copy and Deep copy?
write a program to display all prime numbers
which is faster execution: loops or recursion?
who did come first hen or agg
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
how to print 2-D array using a single for loop?
2 Answers Mind Tree, TCS, Value Labs,
How can you access memory located at a certain address?
What is a spanning Tree?
What do you mean by a sequential access file?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Write a program in C to reverse a number by recursive function?
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);