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
Answer:
Hey! Have you ever wanted to work with kids? Do you know a lot about mathematics? Well I've got the job for you! You can be a Senior High School teacher! The job is simple, all you have to do is teach your students about mathematics every day. Let us know by July 31st if you would like to be a teacher for this upcoming fall semester.
Explanation:
<span>Online learning is impossible without "basic computer literacy." Let us assume that everything is already provide, from computers to electricity. You can not move if at least a single idea about the usage of computer is not there, even the basics like turning on, turning off, browsing, etc.</span>
Audio Engineers
Interpreters and Translators
Video Game Testers
Technical Support Specialists
Marketing Managers
Market Research Analysts
Sales Representatives
Answer:
motherboard
Explanation:
it is the leadership and main device for a computer or any technology and also it can store ur memory