πŸ“Š C Programming
Q. What is the output of C Program with arrays.?
Code:
int main()
{
    int rollno[3]=[1001,1002,1003];
    printf("%d", rollno[1]);
}
  • (A) 1002
  • (B) 1003
  • (C) address of 1002
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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