
Question
Declare and Initialize the String "str" as "Hello World"
Input Format
1<=StringLength<=100
Sample TestCase Expected Output
Hello World
Answer
#include <stdio.h>int main(){ char str[] = "Hello World"; printf("%s",str); return 0;}
This comment has been removed by a blog administrator.
ReplyDelete