Search:

Type: Posts; User: lecter55

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,073

    "

    I was reading some code and found this line:

    mil[j+1] = mil[j] <? res[j];

    What the "<?" mean? My first guess would be a conditional, like in "a<b?c:d", but the < is a binary operator, so it...
  2. Replies
    4
    Views
    2,108

    segfault when allocating big matrix

    Why the program below generates a segmentation fault? 100.000 x 26 should occupy 3MB at most... is it too much?

    Thanks.


    #include <stdio.h>

    int main() {

    char m[100000][26];
  3. Return a pointer to a variable declared inside the function (basic question)

    ** sorry, this is a basic question, but couldn't find the answer on Google **

    In the following code, is it guaranteed that the "number" variable will point to the same value as assigned in the "f"...
Results 1 to 3 of 3