Answer:
1. Buffer could be overflowed when input entered by user in command line is greater than size 12 it may of size 13 or larger.
for example: when user enters the string 'dolatsinghsodha' than the size of that string stored in bar variable will be 15 as it not size bounded but when it stored in MyArray[12] than it will overflow the buffer for array because MyArray[] is input bounded to maximum 12 characters.
2. There are two ways to prevent buffer overflow
i) make bar varaible input bounded to 12 characters or
ii) assign MyArray[] size at dynamic time
or change code to following state:
void simple (char *bar) {
int a=bar.length
char MyArray[a];
strcpy(MyArray, bar); // copies bar in MyArray --> Myarray==bar }
}
but it in not possible in some languages and platforms
or we can ask user
1. Make speadsheets in order to organize the items he needs for his store
2. He can budget incoming profits from his store
3. Integrate a new way of clocking in employees which would be easier in every way.
4. He can also update his registers to digital
5. He can make it easier to apply to work at his grocery store by making a website
Answer:
The technique helps you explore possible risks by providing access to risk areas identified in the past is explained below in details.
Explanation:
Risk administration commences with the system of classifying risks. In this method, we examine future developments or circumstances that may influence our understanding and capacity to accomplish our aims. Risk identification incorporates estimating out where, when, how, and why such situations may happen.
Answer:
the consecutive two elements and swap them based on the value which is larger if we go for ascending order
Explanation:
bubble sort compares 2 consecutive elements of the list and swap them. in one iteration one value will be placed correctly depending on the sorting order either ascending or descending
Answer: V-model for software testing is referred to as a type of Systems development life cycle model under which a process tends to be executed in sequential manner i.e. V-shape. It is also referred as Verification & Validation model. This is mostly based on company of testing period for a development stage. The development of each and every step is associated with testing phase. Therefore next phase will start only, once the previous stage has been completed i.e. each development activity,has a testing activity corresponding.