subject

Apakah ada yang bisa menjelaskan potongan source code ini? string fuse(char kata1[100], char kata2[100]){ char jawaban[100]; int ssr, j=0; if(strlen(kata1)> =strlen(kata2)){ ssr = strlen(kata1); }else{ssr = strlen(kata2); }; for(int i=0; i if(kata1[i]! ='\0'){ jawaban[j]=kata1[i]; }else{ jawaban[i]=' '; } j++; if(kata2[i]! ='\0'){ jawaban[j]=kata2[i]; }else{ jawaban[j]=' '; } j++; } jawaban[j]='\0'; return jawaban; }

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Matlab question: use switch and anythe lottery game matches three different integer numbers between 1 and 10. winning depends on how many matching numbers are provided by a player. the player provides three different integers between 1 and 10.if there is a match of all 3 numbers, the winning $ 1000.if there is a match with 2 numbers, the winning $ 10.if there is a match of all with 1 numbers, the winning $ 1.with no match, the winning is $0.write a function lottery3 that checks three numbers provided by a player and determine the winning amount. if the user mistakenly enters same number twice/thrice and if that number matches one of the winning numbers, the code should count that number only once and display correct result. the player doesn’t have to guess the order of numbers.the input to the function lottery3 can have up to two input arguments. the first input argument is a row array numbers with 3 numbers. if the second argument input testcode is present, and is a row vector of 3 values, the function lottery3 uses the code in testcode as the three winning numbers (the test must be three different integer numbers between 1 and 10), else three different numbers will be automatically generated by testcode.the ouput should return the variable winnings and the three winning numbers in the row array winnumbers.hint: make use of the internal function any.restriction: the function must use switch-case statements to determine the winning.example #1: winning = lottery3( [1,2,1],[1,2,3])produceswinning =10example #2: [winning,winnumbers] = lottery3( [1,2,3])produceswinning =3winnumbers =8 5 3
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
You know the right answer?
Apakah ada yang bisa menjelaskan potongan source code ini? string fuse(char kata1[100], char kata2...
Questions
question
Physics, 01.12.2021 20:40
question
Mathematics, 01.12.2021 20:40
question
Mathematics, 01.12.2021 20:40
question
Spanish, 01.12.2021 20:40
Questions on the website: 13722360