Q. Syntax to initialize an array in C is?

  • (A) int arr[3]={1,2,3};
  • (B) int arr(3)=(1,2,3);
  • (C) int arr{3}=[1,2,3];
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) int arr[3]={1,2,3};

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
200
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Tina Singh
Publisher
πŸ“ˆ
97%
Success Rate