
SASI -1st year -DAY6-AN (23.12.23)
Authored by CCC info@ccc.training
English
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is used to concatenate two strings in C?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { char str1[] = "Hello"; char str2[] = "World"; strcat(str1, str2); printf("%s", str1); return 0; }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which library must be included to use string functions in C
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { char str[] = "C Language"; printf("%s", str + 2); return 0; }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { char str[] = "Hello"; str[0] = 'J'; printf("%s", str); return 0; }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { char str1[] = "Hello"; char str2[] = "Hello"; int result = strcmp(str1, str2); printf("%d", result); return 0; }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { char str[] = "Hello"; printf("%c", str[strlen(str) - 1]); return 0; }
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?