πŸ“Š C Programming
Q. What will be output if you will compile and execute the following c code?
Code:
void main()
{
if(printf(“cquestionbank”))
printf(“I know c”);
else
printf(“I know c++”);
}
  • (A) I know c
  • (B) I know c++
  • (C) cquestionbankI know c
  • (D) cquestionbankI know c++
πŸ’¬ Discuss
βœ… Correct Answer: (C) cquestionbankI know c

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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