What is output?typedef struct Data_struct {      int a;     …

What is output?typedef struct Data_struct {      int a;      int b; } Data;   void AddData(Sum obj) {      obj.a = obj.a + 5;      obj.b = obj.b + 10;      printf(“a = %d b = %d\n ” , obj.a , obj.b); }   int main(void) {    Data point;         point.a = 10;      point.b = 20;      AddData(point);        return 0;}

What is output?#include #include typedef struct Sample_str…

What is output?#include #include typedef struct Sample_struct {   int value;} Sample; int main(void) {   int x = 5;   Sample myVect[x];     for (int a = 0; a < x; a++) {      myVect[a].value = myVect[a].value + 12;      printf("%d ",myVect[a].value);   }     return 0;}

What is output if the value of modString is “Great. They won…

What is output if the value of modString is “Great. They won. “void MyFct(char modString[]) {   int i;      // Loop index   for (i = 0; i < strlen(modString); ++i) {      if (modString[i] == ' ') {         modString[i] = '-';      }   }}

Which XXX and YYY will find the minimum value of all the ele…

Which XXX and YYY will find the minimum value of all the elements in the array? Choices are in the form XXX / YYY.int userVals[NUM_ROWS][NUM_COLS];int minVal = userVals[0][0];for (i = 0; i < NUM_ROWS; ++i) {   for (j = 0; j < NUM_COLS; ++j) {      if (XXX) {         YYY;      }   }}