Determine Output:
void main() { int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; } }
A.10 20 30 40 50 10 20 30 40 50
B.10 20 30 40 50 Garbage Value
C.Error
D.None of These
Answers
Answered by
1
Hii dear here is your answer
option b is the correct answer
Hope it's help u
option b is the correct answer
Hope it's help u
Answered by
7
Hey mate,☺☺☺
Here is your answer...✨✨✨
➡➡➡➡➡➡➡➡➡➡➡➡➡
QUESTION:
Determine Output:
void main() { int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; } }
A.10 20 30 40 50 10 20 30 40 50
B.10 20 30 40 50 Garbage Value
C.Error
D.None of These
ANSWER:
Option 【B】10 20 30 40 50 Garbage Value
✔✔✔✔✔✔✔✔✔✔✔✔✔
Hope this will help you...✨✨✨
Keep Asking..✌✌✌
❤❤❤ If helps you, Mark my answer as Brainliest....❤❤❤
Here is your answer...✨✨✨
➡➡➡➡➡➡➡➡➡➡➡➡➡
QUESTION:
Determine Output:
void main() { int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; } }
A.10 20 30 40 50 10 20 30 40 50
B.10 20 30 40 50 Garbage Value
C.Error
D.None of These
ANSWER:
Option 【B】10 20 30 40 50 Garbage Value
✔✔✔✔✔✔✔✔✔✔✔✔✔
Hope this will help you...✨✨✨
Keep Asking..✌✌✌
❤❤❤ If helps you, Mark my answer as Brainliest....❤❤❤
Similar questions
Math,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago