Answer: killall[process_name] or kill[PID]
Explanation:
Killall is a tool for disabling running processes on the system. It will disable all programs that matches the name mentioned.
kill disables processes based on process id numbers. it does not disable the process directly. The process recieves a signal where the process will follow instructions which it has to follow if it receives the signal.
Answer:
B. school
Explanation:
Because the school is where you learn and gain knowledge
Answer:
The code is not dereferencing the pointers. You have to place an asterisk in front of the pointer to read the value the pointer points to.
Explanation:
So "if (str1 != str2)" must be "if (*str1 != *str2)".
likewise:
while (*str1 != 0 && *str2 != 0)
and
result = (*str1 == *str2);
Answer:
b) void xyzfunc (int &myint);
Explanation:
To use the same memory location as the variable in the calling function we have to pass the variable by reference means passing the same address to the function.So to do that we have use & operator which stands for address.
We will do this as following:-
void xyzfunc (int * myint);
Hence the answer is option b.