Q. What will be the output of the following statements ?

Code:
long int a = scanf(“%ld%ld”,&a,&A.; printf(“%ld”,A.;
  • (A) 0
  • (B) 2
  • (C) error
  • (D) garbage value
πŸ’¬ Discuss
βœ… Correct Answer: (D) garbage value

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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