ExamVeda
Login
Home
Standard Library Functions
?

What will be the output of the following C code?
char str[20]; 
strcpy(str, "123456"); 
res = atoi(str);
printf("%s  %d\n", str, res);

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.