πŸ“Š C Programming
Q. What is the output of this program? if input a is 1 and b is 2
Code:
#include <stdio.h>
int main()
{
    int a, b;
    printf("%d", scanf("%d %d",&a,&b));
    return 0;
}
  • (A) 1
  • (B) 2
  • (C) runtime error
  • (D) compile time error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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