Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by Shiva Sagar Rao
1
votes
1
answer
1
sizeof
#include <stdio.h> int main() { int a = 1; char d[] = "ab"; printf("%d", sizeof(a+d)); return 0; } Explain the Output
#include <stdio.h int main() { int a = 1; char d[] = "ab"; printf("%d", sizeof(a+d)); return 0; }Explain the Output
697
views
asked
Feb 16, 2019
Programming in C
programming-in-c
sizeof-operator
+
–
0
votes
1
answer
2
#define doubt
#include <stdio.h> #define foo(m,n) "m##n" int main() { char x='k',y='l'; printf("%s",foo(x,y)); return 0; } Output Please explain why the output is m##n instead of k##l
#include <stdio.h #define foo(m,n) "m n" int main() { char x='k',y='l'; printf("%s",foo(x,y)); return 0; }OutputPlease explain why the output is m n instead of k l
1.1k
views
asked
Feb 16, 2019
Programming in C
programming-in-c
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register