C Programming :: String - Discussion
Home > C Programming > String > MCQs Questions Discussion
13 / 26
What is the output of the program?
#include <stdio.h>
#include<string.h>
void main ()
{
char str[][5] = {{'h','e','l','l'}, {'w','e','l','l'}};
printf("\n %s ", strncpy (*str, *(str + 1), 0));
}
#include <stdio.h>
#include<string.h>
void main ()
{
char str[][5] = {{'h','e','l','l'}, {'w','e','l','l'}};
printf("\n %s ", strncpy (*str, *(str + 1), 0));
}
Aell
Bwell
Cwel
Dhell
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!