+ 2

What to write to find output

#include <stdio.h> int main() { string answer = get_string("what's your name?\n "); printf("Hello %s", answer ) return 0; }

19th May 2020, 8:16 AM
Rasel Antor
Rasel Antor - avatar
2 Answers
+ 1
Now is the time for revision. String is not a data type in C. There is no get_string() method defined in your code.
19th May 2020, 8:26 AM
Avinesh
Avinesh - avatar
0
I was watching a CS50 video, they were using <cs50.h> header file, how can I execute this input in normal compiler
19th May 2020, 3:47 PM
Rasel Antor
Rasel Antor - avatar