Telegram Group 🔥🔥🔥 Get answers in minutes
Questions answered : 48 /50
+ 4981 more
Answer verified

If int is 2 bytes wide.What will be the output of the program
#include <stdio.h>
void fun(char**);

int main()
{
char *argv[] = {"ab", "cd", "ef", "gh"};
fun(argv);
return 0;
}
void fun(char **p)
{
char *t;
t = (p+= sizeof(int))[-1];
printf("%s\n", t);
}

🗓 Nov 10, 2024

View Answer

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
votes
Kimberly 🌐 India
Thank you so much for the answer
Was this answer helpful?
votes
Sierra 🌐 India
hmm, where is the explanation
Was this answer helpful?

Was your question answered?

Want to get famous? 📸

Answer question and get 🤩 high-lighted on our homepage.

© 2017-2022 Foxoyo™
All rights reserved.

Facebook Connect with us