Q181
Open question#include <stdio.h>
int main()
{
char *str = "hello, world";
char str1[15] = "hello wo 9";
strcpy(str, str1);
printf("%s", str1);
}Select an option to see the answer and solution.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
296
Questions
10/15
Page
Pick an option on a question to see the right answer and solution.
Q181
Open question#include <stdio.h>
int main()
{
char *str = "hello, world";
char str1[15] = "hello wo 9";
strcpy(str, str1);
printf("%s", str1);
}Select an option to see the answer and solution.
Q182
Open questionSelect an option to see the answer and solution.
Q183
Open questionscanf("%7s",ch);Select an option to see the answer and solution.
Q184
Open questionSelect an option to see the answer and solution.
Q185
Open questionSelect an option to see the answer and solution.
Q186
Open questionSelect an option to see the answer and solution.
Q187
Open question#include <stdio.h>
int main()
{
char str[10] = "hello";
char *str1 = "world";
strncat(str, str1, 9);
printf("%s", str);
}Select an option to see the answer and solution.
Q188
Open questionvar = strcmp("Hello", "World");Select an option to see the answer and solution.
Q189
Open questionSelect an option to see the answer and solution.
Q190
Open questionSelect an option to see the answer and solution.
Q191
Open question#include <stdio.h>
#include <ctype.h>
int main()
{
char c = 't';
printf("%d\n", isspace(c));
}Select an option to see the answer and solution.
Q192
Open questionSelect an option to see the answer and solution.
Q193
Open questionSelect an option to see the answer and solution.
Q194
Open questionSelect an option to see the answer and solution.
Q195
Open question#include <stdio.h>
int main()
{
int i = 10, j = 2;
printf("%d\n", printf("%d %d ", i, j));
}Select an option to see the answer and solution.
Q196
Open questionSelect an option to see the answer and solution.
Q197
Open questionSelect an option to see the answer and solution.
Q198
Open question#include <stdio.h>
#include <ctype.h>
int main()
{
int i = 9;
if (isdigit(i))
printf("digit\n");
else
printf("not digit\n");
return 0;
}Select an option to see the answer and solution.
Q199
Open questionSelect an option to see the answer and solution.
Q200
Open questionSelect an option to see the answer and solution.