Tuesday, June 11, 2019

string test in c

#include <stdio.h>

int main ()
 {

   char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
   printf("Greeting message: %s\n", greeting );
   return 0;
}


output::::




No comments:

Post a Comment

python class topic video