subject

What would be the output of the following program?

int main() {
struct message
{ int num;
char mess1[50];
char msg2[50] ;
} m ;
m. num = 1;
strcpy (m. msg1, "we had lot of homework." );
strcpy(m. msg2," hope it is the last one);
/* assume that the strucure is located at address 2004*/
printf ("\n%u%u%u\n", & m. num, m. msgi, m3 m2 m. msg2 );
printf ("\n%d %s %s", m. num, m.msgi, m. msg2);
return 0;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
You know the right answer?
What would be the output of the following program?

int main() {
struct message
Questions
question
English, 30.01.2020 13:00
question
Mathematics, 30.01.2020 13:00
question
Arts, 30.01.2020 13:00
question
Biology, 30.01.2020 13:00
Questions on the website: 13722367