Beyond Knowing
Ed Tools
Play Quiz
Sign in
Join Sookshmas
Beyond Knowing
Jobs
Ed-Tools
Play Quiz
Misba Kousar
Wall
Questions
e-Notes
Calculations
MCQs
News/Article
What will be the output of the following code snippet?
#include
stdio.h
#include
string.h
void solve() {
char s[] = "Hello";
printf("%s ", s);
char t[40];
strcpy(t, s);
printf("%s", t);
}
int main() {
solve();
return 0;
}
C Language
GMIT Davangere
BIET Davangere
Engineering-CS
Engineering-AI
Posted on
by
Score
Share
Views
Comment(s)
Please
Login
to post your answer or reply to answer
Recent MCQ Comments
Recent MCQs
Top Scored MCQs
Scroll
×
Login to India's fastest growing social media for Self-Learners!
Sign in with Google
OR
Not registered?
Create an account
Forgot Password?
×
Join India's fastest growing social media network for learning and education!
Sign in with Google
OR
Already a registered user?
Login