You are here:
I can answer questions related to basic concepts , arrays , expressions , pointers and queries related to coding .
I have done my bachelors in Computer Science. For past 5 years i have been working in c , and i have good command over most of the areas of C Language.
I did my Bachelors in Computer Science and Engineerin .
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| heni | 04/20/12 | 10 | 10 | 10 | thanks Kumar |
| Kenji | 11/09/11 | 10 | 10 | 10 | This guy knows what he's talking about ..... |
| Jackie | 10/22/11 | 10 | 10 | 10 | Abhishek, Thank you for your response. It ..... |
| phaneendra | 10/06/11 | 10 | 10 | 10 | thank yo sir |
| Sanjeev | 08/18/11 | 10 | 10 | 10 |
HI Phaneendra, This is because of the way we store float. If you execute this program you will get more info: #include<stdio.h> int main() { float a1=0.7, a2=.25; if(a1==0.7)
Hi Heni, If you see the definition of memcpy it is something like this: void * memcpy ( void * destination, const void * source, size_t num ); So, in your case: case 1: memcpy(dst, src, 6) ->
Hi Phaneendra, What you are saying is correct by this by statements are not correct and will yield different result when run different compilers. Like in my case i am getting answer as 17. But if
Hi Nia, If you see closely you will see that your program is doing something like : sum=6 n=6 sum=15 n=9 sum=27 n=12 sum=42 n=15 sum=60 n=18 60 Initially, n=3 1.It checks this condition
Hi Heni, If you see why we take 1 Byte (8 bits) space for storing a character is because ASCII characters range from 1 to 255 and hence we need 8 bits. as 255 is 11111111. Now, question in hand
Answers by Expert:

©2012 About.com, a part of The New York Times Company. All rights reserved.