Search:

Type: Posts; User: Crazzypilot

Search: Search took 0.01 seconds.

  1. What happens in the operating system when we dereference a NULL pointer in C?

    Assume we have a reference and we initialise it with NULL.

    int* ptr = NULL;
    *ptr = 10;

    The application will now fail since ptr does not point to any address and we are giving a value to it,...
  2. Given an integer array. Find the LONGEST subarray with the HIGHEST sum.

    Hello, I am studying for an interview coding exam and came across this question. I attempted it in C#; here is my embarrassing response; I'm not sure if it's correct, but I'm guessing not; could...
  3. Replies
    0
    Views
    1,231

    Threaded Binary Tree's inorder successor

    I'm building a C programme to generate a threaded binary tree and then discover the INORDER SUCCESSOR of a specific node. For this, I'm presenting the TBT's inorder sequence and then asking the user...
  4. Sorry for the trouble. My query got resolved,...

    Sorry for the trouble. My query got resolved, thanks for the understanding.
  5. Adding many Python files and directories to a single dmg file

    How can I make a single dmg file out of many Python files in different folders? I know that's doable for a single file, but how can I do it for several?
    I can make a dmg for a 1.py file but not for...
  6. Column '*' is dependant on the object 'DF__*' - Changing int to double

    In essence, I obtained a table in my EF database with the following properties:

    public int Id { get; set; }
    public string Title { get; set; }
    public string Description { get; set; }
    public...
  7. Replies
    1
    Views
    1,358

    Python string find() examples

    I'm looking for examples, but I'm not finding any.
    Are there any examples on the internet? I'd like to know what it returns when it can't find something, as well as how to specify the starting and...
Results 1 to 7 of 7