Consider the structure of this directory in your Linux accou…

Consider the structure of this directory in your Linux account. working/ |—– documents/ |—– cs2713/       |—– project1/             |—– main.c             |—– project1.c             |—– project1.h       |—– project2/             |—– main.c   Assume that the current working directory is working/documents/ Write the sequence of Linux commands to do the following – Create a new directory named “project3” inside “cs2713” Create and open for editing a new file named “project3.c” inside the newly created folder “project3”

Write a function named stringCompare() that compares two inp…

Write a function named stringCompare() that compares two input strings. You CANNOT use the library  and any functions associated with that. The function takes in the following parameters: string1 – a character array representing the first string string2 – a character array representing the second string The function will return an integer value based on these conditions: If string1 == string2 then return 0 If string1 > string2 then return 1 If string1 < string2 then return -1 Assume that all header files are included. Write only your function in the box below.

Consider this block of code below. Trace the following code…

Consider this block of code below. Trace the following code one step at a time. Show the starting address and the intermediate and final values of the variables. A variable of type ‘int’ takes 4 bytes and any pointer variable takes 8 bytes of space. Assume the starting address that is available is 1000 (calculate in decimal).  For each of the starting addresses there is only one number, please write that down. However, for each of the variable values there can be more than one value (starting, intermediate, and final). Write all of them down, separated by a comma. For example, if one value has 3 values then write them down as 1, 2, 3.     int X = 0, Y = 2, Z = 4; int *p; int **pp; int arr = { 1, 2, 3, 5, 8 }; p = &X; ++*p; p = arr; arr = 20; *++p = 10; p = &Y; pp = &p; arr = 30;   Starting address location is 1000 (calculate in decimal) Variable Name Starting Address Value X Y Z p pp array value at index 0 array value at index 1 array value at index 2 array value at index 3 array value at index 4