Menu

General Requirement Solve Hand Try Solve Without Using Compiler 1 Would Output Following Q43895441

General requirement is to solve by hand and try tosolve without using any compiler.

1. What would be the output of the following?

a.

int main() { char s[] = Da gaad feel gaad! ; char x = 0; char t[25] ; strcpy(t, s); int i=0; while ( s[i] !=   ) { if

b.

void encrypt(char A[][20], int cypher, int size) { for(int i = 0; i<size; i++) for(int j=0; A[i][j] !=  ; j++) A[i][j] = A

int main() { char s[] = “Da gaad feel gaad!” ; char x = ‘0’; char t[25] ; strcpy(t, s); int i=0; while ( s[i] != ‘ ‘ ) { if (t[i] == ‘a’) * (s+i) = x ; i++; printf(“n%s”, s return 0; void encrypt(char A[][20], int cypher, int size) { for(int i = 0; i<size; i++) for(int j=0; A[i][j] != ‘ ‘; j++) A[i][j] = A[i][j] + cypher; int main(void) { char arr[4][20] = { “ford”, “nissan”, “accura”, “audiº encrypt(arr, 2, 5); for(int i = 0; i<4; i++) { printf(“%sn”, arr[i]); return 0; Show transcribed image text int main() { char s[] = “Da gaad feel gaad!” ; char x = ‘0’; char t[25] ; strcpy(t, s); int i=0; while ( s[i] != ‘ ‘ ) { if (t[i] == ‘a’) * (s+i) = x ; i++; printf(“n%s”, s return 0;
void encrypt(char A[][20], int cypher, int size) { for(int i = 0; i

Expert Answer


Answer to General requirement is to solve by hand and try to solve without using any compiler. 1. What would be the output of the …

OR