Search:

Type: Posts; User: mikel360

Search: Search took 0.01 seconds.

  1. Thread: code fragment

    by mikel360
    Replies
    12
    Views
    2,468

    what about if the code starts with [code] int...

    what about if the code starts with

    [code]
    int i=4;
    [\code]

    what will be the output
  2. Thread: code fragment

    by mikel360
    Replies
    12
    Views
    2,468

    when i compiled and run it, it was an error...

    when i compiled and run it, it was an error message showing though am suppose to use my head
    thanks for your feedback
  3. Thread: code fragment

    by mikel360
    Replies
    12
    Views
    2,468

    that was how the question is in the exam paper....

    that was how the question is in the exam paper.
    i dont undestand what you mean by "that's not a valid line"
  4. Thread: code fragment

    by mikel360
    Replies
    12
    Views
    2,468

    my answer is 1,2,3,4 pls, am i write

    my answer is 1,2,3,4
    pls, am i write
  5. Thread: code fragment

    by mikel360
    Replies
    12
    Views
    2,468

    code fragment

    what is the output of the following fragment
    int i-4;
    do{
    printf("i intermediate value is %d\n", i);
    i--;
    }while (i>0);
    printf("final value of i is %d", i);


    pls, does anyone the output to...
  6. Replies
    6
    Views
    4,755

    Actually I have the code but I didnt knw how to...

    Actually I have the code but I didnt knw how to post the code, i have to read the error sign and tried to understand it, sorry it took so long
  7. Replies
    6
    Views
    4,755

    code:

    #include <stdio.h>


    int main() {
    char *stations[10]={"Ashford","Brentworth","Canonbury Cross","Dowgate","Edbury","Fenchurch Street","Gresham","Hampstead","Islington","Jamaica Road"};
    ...
  8. Replies
    6
    Views
    4,755

    metro ticketing

    I was given an assignment but I don't know much about c programming. please i will like to know more that's the reason I have decided to join this forum.

    A new metro system is to be constructed by...
  9. Replies
    4
    Views
    4,268

    thank you guys for your feedback. I will post my...

    thank you guys for your feedback. I will post my code soon
  10. Replies
    4
    Views
    4,268

    Train simulation

    I was given an assignment but I don't know much about c programming. please i will like to know more that's the reason I have decided to join this forum.

    A new metro system is to be constructed by...
Results 1 to 10 of 10