Answers for "print variable string in c"

C
0

print string in c

// C program to illustrate strings
  
#include<stdio.h>
  
int main()
{   
    // declare and initialize string
    char str[] = "Geeks";
      
    // print string
    printf("%s",str);
      
    return 0;
}
Posted by: Guest on April-22-2022

Code answers related to "C"

Browse Popular Code Answers by Language