Sunday, September 16, 2012
Home »
Information
» GPU C Programming
GPU C Programming
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
size_t
foo_len (const char *s)
{
return strlen (s);
}
int
main (int argc, char *argv[])
{
const char *a = "This is a test string";
printf ("size of a = %d\n", foo_len (a));
exit (0);
}
Article by Ankit Sharma
0 comments:
Post a Comment