Mega Code Archive

 
Categories / C / Stdio H
 

Prints first 2 chars

#include <stdio.h> int main( ) {  char   psz1[]   =   "this is a test";    printf("%.2s",psz1);  }