You are here:
I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.
6.5
Brain Bench Certified Expert C programmer.
Advanced System Software Certified
The programming language which anybody can learn and use.
More C
C is very easy to learn!!!
Without trying to learn or use, many people assume that C is very difficult.
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| am | 07/08/08 | 10 | 10 | 10 | |
| muskaan | 11/15/07 | 10 | 10 | 10 | Hi Narendra, thank you for your help ..... |
| henry | 10/31/07 | 10 | 10 | 10 | He´s so fast, by my judgement, the ..... |
| sinn | 10/06/07 | 10 | 10 | 10 | |
| henry | 09/25/07 | 10 | 10 | 10 | he's a gem!!!. thanks alot Narendra for ..... |
Open the file. Initialize a counter to 0. Start reading the file (line by line) - on each read increment the counter by 1. When the counter is less than 3, go back to read. If it is equal to or greater
When you declare a variable, the address where its value is stored is decided at compile time. When the declare an array, its size is decided at compile time. If you want to change the size of array
You are using both fwrite() and fprintf() to write to file. Both work in different way. While fprintf() writes with the format that you provide, fwrite() writes raw data (this is what you are calling
> How to assign an address to my pointer. > Let's say I want int* A to be point to address 0x00001234 You can do this: int *A = 0x00001234; But, since you are giving the address directly, it is your
I don't know how you used the scanf(). I too tried to use scanf() and the program is working fine. Here below is the program with scanf() to read the values and also I have attached the o/p that I got
Answers by Expert:

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