Search:

Type: Posts; User: madhu

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    10,454

    :D try this one out, char far *ptr=(char far...

    :D
    try this one out,

    char far *ptr=(char far *)0xb0008000;

    main(){

    int i,j;
    for(i=0;i<(80*25/2);i++){
    ++*ptr=' ';
  2. Replies
    2
    Views
    1,261

    tell me wht the problem actually is!

    tell me wht the problem actually is!
  3. Replies
    10
    Views
    1,772

    answer

    :D
    the first i had brought the book i thougth that i will never learn c in my life,and i switched to let us c by yeshwanth kanetkar and then when i switched to k&r i am feeling comfortable with it...
  4. Replies
    3
    Views
    1,844

    answer

    :D
    accoring to c definition you dont have any operator to operate in array directly, so if you want to copy use strcpy functions,l-value is basically value that can be can be modified .
  5. Replies
    6
    Views
    3,357

    answer

    :D

    as you are using new style for function declaration you cant again redeclare the same array name again,it will give comile time error.
  6. Thread: free()

    by madhu
    Replies
    2
    Views
    1,067

    asnwer

    :D

    when ever you allocate mem your o/s (i.e mem management unit )will have a log about the allocated mem and all its information like the starting pointer or the address to the allocated mem,that...
  7. Replies
    4
    Views
    1,283

    answer

    modify this code and you will get the answer

    #include <stdio.h>
    #include <string.h>

    int main (void)
    {
    char *strng = "How do you know";
    char *pToken;
    int tokenCount;
  8. Replies
    1
    Views
    1,602

    serial comm reply

    hi,

    there is no requirement of using any protocol,

    you can send the file directly,

    only thing to be taken care all the carriage return '\r' in the
    transmitter file is to be replaced by...
  9. Thread: function error

    by madhu
    Replies
    3
    Views
    1,189

    funtion error reply

    your function ,

    float count(float sale ,float salary);

    modify this and you will get the correct result,

    double count(double sale,double salary);

    make return value as double
Results 1 to 9 of 9