πŸ“Š C Programming
Q. What is the output of C program with arrays.?
Code:
int main()
{
   char grade={'A','B','C'};
   printf("%c", grade[0]);
}
  • (A) A
  • (B) B
  • (C) C
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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