Q. What is the output of C Program?

Code:
int main()
 { 
int a[] = {1,2,3,4}; 
int b[4] = {5,6,7,8}; 
printf("%d,%d", a[0], b[0]);
 }
  • (A) 1,5
  • (B) 2,6
  • (C) 0 0
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1,5

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
214
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate