πŸ“Š Data Structure and Algorithms (DSA)
Q. What will be output if you will compile and execute the following c code? #include<stdio.h>
#define call(x,y) x##y
int main(){
int x=5,y=10,xy=20;
printf("%d",xy+call(x,y)); return 0;
}
  • (A) 35
  • (B) 510
  • (C) 15
  • (D) 40
πŸ’¬ Discuss
βœ… Correct Answer: (D) 40

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate