Computer Science, asked by yyogi2607, 1 year ago

Find and explain output of the following program. Assume suitable header file. (c) int main() ‘char arr[ ] = ‘‘geeksforgeeks’’;char* ptr1 = arr; char + ptr2 = ptr1+3; printf(‘‘ptr2 – ptr1 =%d\n’’, ptr2 – ptr1);printf(‘‘ (int*)ptr2 – (int*) ptr1 = %d’’, (int*) ptr2–(int*) (ptr1); getchar(); returno;}

Answers

Answered by rahulamde
0

Just download brackets software and check it yourself by typing same program

You can also use different softwares such as notepad++,etc

Similar questions