?
What will be the output of the following C code?
What will be the output of the following C code?
#include <stdio.h>
int main(int argc, char **argv)
{
char *s = "myworld";
int i = 3;
printf("%10.*s", i, s);
}
#include <stdio.h>
int main(int argc, char **argv)
{
char *s = "myworld";
int i = 3;
printf("%10.*s", i, s);
}
Join the Discussion
Login to post a comment or share your explanation.
Login