πŸ“Š C Programming
Q. What would be the output of the following program?
Code:
#include
main()
{
char str[]=”S\065AB”;
printf(“n%d”, sizeof(str));
}
  • (A) 5
  • (B) 6
  • (C) 7
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 6

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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