#include<stdio.h>int main(){char *str1="abcd";char str2[]="abcd";printf("%d %d %d\n",sizeof(str1),sizeof(str2),sizeof("abcd"));\return 0;}
Standard input is empty
4 5 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!