Search:

Type: Posts; User: whynot

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    655

    I don't know how to do that, but I don't have any...

    I don't know how to do that, but I don't have any errors. I have some warnings.
    It's also working here https://www.programiz.com/c-programming/online-compiler/


    #include <stdio.h>

    int main()...
  2. Replies
    6
    Views
    655

    Actually, I expected something different like...

    Actually, I expected something different like *ptr = 2001 *ptr = 2002 *ptr = 2002



    #include <stdio.h>

    main() {
    int x=2001;
    int *ptr;
    ptr = &x;
  3. Replies
    6
    Views
    655

    memory address calculations

    hi again,
    I'm a little bit confused. How do we calculate memory address differences? Does it matter if it's from int or double type variable? Eventually, they are same type of numbers?
    If I give an...
  4. Replies
    7
    Views
    643

    hmm I got it. It's a command-line setup Asci or...

    hmm
    I got it. It's a command-line setup Asci or UTF-8. Noting to do with c compiler.

    Output is like this


    #include <stdio.h>
    int main () {
    printf("\x81 \x94 \x99 \x9A\n");
    printf(" ...
  5. Replies
    7
    Views
    643

    Using c with other languages.

    Hi
    I'm trying to print some texts in other languages. But It's not possible to print those characters. Do you know why can we use it like this? Actually, if I press directly then it works as well ...
  6. Thread: square root

    by whynot
    Replies
    2
    Views
    523

    [solved]

    Thank you. I appreciate it a lot.
  7. Thread: square root

    by whynot
    Replies
    2
    Views
    523

    square root

    Hi
    I'm a newbie, I'm trying to understand c programing language. But I have an issue. Why do I get this error?
    rootsquer.c


    #include <math.h>
    #include <stdio.h>

    int main() {
    double...
Results 1 to 7 of 7