What line number contains the illegal statement Why is the statement illegal? This life 1 #include...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
What line number contains the illegal statement Why is the statement illegal? This life 1 #include <stdio.h> 2 3int main(void) 4{ 5 7 8 char string1[] = "Hello"; char string2[] = "F1 World!"; char* ptr1= string1; char* ptr2 = string2; ptr2 = ptr2 + 3; 9 10 11 printf("%s %s\n", string1, string2); printf("%p\n", ptr1); 12 13 printf("%p\n", ptr2); 14 printf("%u\n", ptr1 - ptr2); 15 16 return 0; 17 18) What line number contains the illegal statement Why is the statement illegal? This life 1 #include <stdio.h> 2 3int main(void) 4{ 5 7 8 char string1[] = "Hello"; char string2[] = "F1 World!"; char* ptr1= string1; char* ptr2 = string2; ptr2 = ptr2 + 3; 9 10 11 printf("%s %s\n", string1, string2); printf("%p\n", ptr1); 12 13 printf("%p\n", ptr2); 14 printf("%u\n", ptr1 - ptr2); 15 16 return 0; 17 18)
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: